a sparse vector class More...
Public Member Functions | |
Scalar & | coeffRef (Index i) |
Index | cols () const |
EIGEN_DEPRECATED void | endFill () |
EIGEN_DEPRECATED Scalar & | fill (Index r, Index c) |
EIGEN_DEPRECATED Scalar & | fill (Index i) |
EIGEN_DEPRECATED Scalar & | fillrand (Index r, Index c) |
EIGEN_DEPRECATED Scalar & | fillrand (Index i) |
Index | innerSize () const |
Index | nonZeros () const |
Index | outerSize () const |
Index | rows () const |
EIGEN_DEPRECATED void | startFill (Index reserve) |
Scalar | sum () const |
~SparseVector () |
a sparse vector class
_Scalar | the scalar type, i.e. the type of the coefficients |
See http://www.netlib.org/linalg/html_templates/node91.html for details on the storage scheme.
This class can be extended with the help of the plugin mechanism described on the page Customizing/Extending Eigen by defining the preprocessor symbol EIGEN_SPARSEVECTOR_PLUGIN
.
|
inline |
Destructor
|
inline |
This insertion might be very costly if the number of nonzeros above i is large.
|
inline |
Reimplemented from SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Reimplemented from SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
|
inline |
Reimplemented from SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
|
inline |
Reimplemented from SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
|
inline |
Reimplemented from SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
|
inline |
internal::traits< SparseVector< _Scalar, _Options, _Index > >::Scalar sum | ( | ) | const |
Overloaded for performance
Reimplemented from SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.