CGAL 6.0 - CGAL and Solvers
Loading...
Searching...
No Matches
SparseLinearAlgebraTraits_d::Vector Concept Reference

Definition

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

Refines
DefaultConstructible
Has models
CGAL::Eigen_vector<T>
See also
SparseLinearAlgebraTraits_d
SparseLinearAlgebraTraits_d::Matrix

Types

typedef unspecified_type NT
 
typedef unspecified_type Index
 Index type.
 

Creation

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

Operations

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

Member Function Documentation

◆ operator[]()

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

Read/write access to a vector coefficient.

Precondition
0 <= row < dimension().