#include <Concepts/SparseLinearAlgebraTraits_d.h>
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
|
typedef unspecified_type | NT |
|
typedef unspecified_type | Index |
| Index type.
|
|
◆ 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()
.