CGAL 5.1 - CGAL and Solvers
|
#include <Concepts/SvdTraits.h>
Concept of vector type used by the concept SvdTraits
.
Public Member Functions | |
Vector (size_t n) | |
Initialize all the elements of the vector to zero. More... | |
size_t | size () |
Return the size of the vector. More... | |
FT | operator() (size_t i) |
Return the i th entry, i from 0 to size()-1 . More... | |
void | set (size_t i, const FT value) |
Set the i 'th entry to value . More... | |
FT * | vector () |
Return the vector as an array. More... | |
SvdTraits::Vector::Vector | ( | size_t | n | ) |
Initialize all the elements of the vector to zero.
void SvdTraits::Vector::set | ( | size_t | i, |
const FT | value | ||
) |
Set the i
'th entry to value
.
size_t SvdTraits::Vector::size | ( | ) |
Return the size of the vector.
FT* SvdTraits::Vector::vector | ( | ) |
Return the vector as an array.