\( \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.5 - Planar Parameterization of Triangulated Surface Meshes
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
SparseLinearAlgebraTraits_d::Vector Concept Reference

Definition

SparseLinearAlgebraTraits_d::Vector is a concept of a vector that can be multiplied by a sparse matrix.

Refines:
LinearAlgebraTraits_d::Vector
Has Models:

CGAL::Eigen_vector<T>

OpenNL::FullVector<T> in OpenNL package

See Also
SparseLinearAlgebraTraits_d
SparseLinearAlgebraTraits_d::Matrix

Types

typedef unspecified_type NT
 

Creation

 Vector (int rows)
 Create a vector initialized with zeros.
 
 Vector (const Vector &toCopy)
 Copy constructor.
 

Operations

int dimension () const
 Return the vector's number of coefficients.
 
NT operator[] (int row) const
 Read/write access to a vector coefficient. More...
 
NToperator[] (int row)
 

Member Function Documentation

NT SparseLinearAlgebraTraits_d::Vector::operator[] ( int  row) const

Read/write access to a vector coefficient.

Precondition
0 <= row < dimension().