\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13 - CGAL and Solvers
CGAL::Lapack_vector Class Reference

#include <CGAL/Lapack_svd.h>

Definition

A matrix class to be used in the class Lapack_svd.

Is Model Of:
SvdTraits::Matrix

Public Member Functions

 Lapack_vector (size_t n)
 Initializes all the elements of the vector to zero.
 
 ~Lapack_vector ()
 
size_t size ()
 Return the size of the vector.
 
const FT * vector () const
 Return the vector as an array.
 
FT * vector ()
 Return the vector as an array.
 
FT operator() (size_t i)
 Return the ith entry, i from 0 to size()-1.
 
void set (size_t i, const FT value)
 Set the i'th entry to value.
 

Protected Attributes

FT * m_vector
 
size_t nb_elts