SparseLinearAlgebra_d::Vector

Definition

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

Refines

This is a sub-concept of LinearAlgebraTraits_d::Vector.

Types

SparseLinearAlgebra_d::Vector::NT

Creation

SparseLinearAlgebra_d::Vector v ( int rows);
Create a vector initialized with zeros.

SparseLinearAlgebra_d::Vector v ( Vector toCopy);
Copy constructor.

Operations

Vector& v = Vector toCopy operator =()
int v.dimension () Return the vector's number of coefficients.
NT v [ int row] Read/write access to a vector coefficient. Precondition: 0 <= row < dimension().
NT& v [ int row]

Has Models

CGAL::Taucs_vector<T>
OpenNL::FullVector<T> in OpenNL package

See Also

SparseLinearAlgebraTraits_d
SparseLinearAlgebraTraits_d::Matrix