#include <Concepts/SparseLinearAlgebraTraits_d.h>
◆ Index
typedef unspecified_type SparseLinearAlgebraTraits_d::Vector::Index |
◆ NT
typedef unspecified_type SparseLinearAlgebraTraits_d::Vector::NT |
◆ Vector() [1/2]
SparseLinearAlgebraTraits_d::Vector::Vector |
( |
Index |
rows | ) |
|
Create a vector initialized with zeros.
◆ Vector() [2/2]
SparseLinearAlgebraTraits_d::Vector::Vector |
( |
const Vector & |
toCopy | ) |
|
◆ dimension()
Index SparseLinearAlgebraTraits_d::Vector::dimension |
( |
| ) |
const |
Return the vector's number of coefficients.
◆ operator[]() [1/2]
NT& SparseLinearAlgebraTraits_d::Vector::operator[] |
( |
Index |
row | ) |
|
◆ operator[]() [2/2]
NT SparseLinearAlgebraTraits_d::Vector::operator[] |
( |
Index |
row | ) |
const |
Read/write access to a vector coefficient.
- Precondition
0 <= row < dimension()
.