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.

FT * m_vector

size_t nb_elts