Concept

SparseLinearAlgebraTraits_d::Vector

Definition

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

Refines

LinearAlgebraTraits_d::Vector

Types

SparseLinearAlgebraTraits_d::Vector::NT

Creation

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

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

Operations

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

Has Models

Eigen_vector<T>
OpenNL::FullVector<T> in OpenNL package

See Also

SparseLinearAlgebraTraits_d
SparseLinearAlgebraTraits_d::Matrix