a sparse vector class More...
#include <SparseVector.h>
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 TopicCustomizingEigen by defining the preprocessor symbol EIGEN_SPARSEVECTOR_PLUGIN
.
Definition at line 51 of file SparseVector.h.
typedef SparseMatrixBase<SparseVector> Eigen::SparseVector< _Scalar, _Options, _Index >::SparseBase |
Definition at line 62 of file SparseVector.h.
anonymous enum |
Definition at line 63 of file SparseVector.h.
anonymous enum |
Definition at line 65 of file SparseVector.h.
Eigen::SparseVector< _Scalar, _Options, _Index >::SparseVector | ( | ) | [inline] |
Definition at line 191 of file SparseVector.h.
Eigen::SparseVector< _Scalar, _Options, _Index >::SparseVector | ( | Index | size | ) | [inline] |
Definition at line 193 of file SparseVector.h.
Eigen::SparseVector< _Scalar, _Options, _Index >::SparseVector | ( | Index | rows, |
Index | cols | ||
) | [inline] |
Definition at line 195 of file SparseVector.h.
Eigen::SparseVector< _Scalar, _Options, _Index >::SparseVector | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inline] |
Definition at line 198 of file SparseVector.h.
Eigen::SparseVector< _Scalar, _Options, _Index >::SparseVector | ( | const SparseVector< _Scalar, _Options, _Index > & | other | ) | [inline] |
Definition at line 204 of file SparseVector.h.
Eigen::SparseVector< _Scalar, _Options, _Index >::~SparseVector | ( | ) | [inline] |
Destructor
Definition at line 256 of file SparseVector.h.
internal::CompressedStorage<Scalar,Index>& Eigen::SparseVector< _Scalar, _Options, _Index >::_data | ( | ) | [inline] |
Definition at line 72 of file SparseVector.h.
internal::CompressedStorage<Scalar,Index>& Eigen::SparseVector< _Scalar, _Options, _Index >::_data | ( | ) | const [inline] |
Definition at line 73 of file SparseVector.h.
EIGEN_DONT_INLINE SparseVector& Eigen::SparseVector< _Scalar, _Options, _Index >::assign | ( | const SparseMatrixBase< OtherDerived > & | _other | ) | [inline, protected] |
Definition at line 306 of file SparseVector.h.
Scalar Eigen::SparseVector< _Scalar, _Options, _Index >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 88 of file SparseVector.h.
Scalar Eigen::SparseVector< _Scalar, _Options, _Index >::coeff | ( | Index | i | ) | const [inline] |
Definition at line 93 of file SparseVector.h.
Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 95 of file SparseVector.h.
Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::coeffRef | ( | Index | i | ) | [inline] |
This insertion might be very costly if the number of nonzeros above i is large.
Definition at line 107 of file SparseVector.h.
EIGEN_STRONG_INLINE Index Eigen::SparseVector< _Scalar, _Options, _Index >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 78 of file SparseVector.h.
EIGEN_DEPRECATED void Eigen::SparseVector< _Scalar, _Options, _Index >::endFill | ( | ) | [inline] |
Definition at line 298 of file SparseVector.h.
EIGEN_DEPRECATED Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::fill | ( | Index | r, |
Index | c | ||
) | [inline] |
Definition at line 271 of file SparseVector.h.
EIGEN_DEPRECATED Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::fill | ( | Index | i | ) | [inline] |
Definition at line 278 of file SparseVector.h.
EIGEN_DEPRECATED Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::fillrand | ( | Index | r, |
Index | c | ||
) | [inline] |
Definition at line 285 of file SparseVector.h.
EIGEN_DEPRECATED Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::fillrand | ( | Index | i | ) | [inline] |
Definition at line 292 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::finalize | ( | ) | [inline] |
Definition at line 170 of file SparseVector.h.
EIGEN_STRONG_INLINE const Index* Eigen::SparseVector< _Scalar, _Options, _Index >::innerIndexPtr | ( | ) | const [inline] |
Definition at line 85 of file SparseVector.h.
EIGEN_STRONG_INLINE Index* Eigen::SparseVector< _Scalar, _Options, _Index >::innerIndexPtr | ( | ) | [inline] |
Definition at line 86 of file SparseVector.h.
EIGEN_STRONG_INLINE Index Eigen::SparseVector< _Scalar, _Options, _Index >::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 79 of file SparseVector.h.
Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::insert | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 140 of file SparseVector.h.
Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::insert | ( | Index | i | ) | [inline] |
Definition at line 147 of file SparseVector.h.
Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::insertBack | ( | Index | i | ) | [inline] |
Definition at line 134 of file SparseVector.h.
Scalar& Eigen::SparseVector< _Scalar, _Options, _Index >::insertBackByOuterInner | ( | Index | outer, |
Index | inner | ||
) | [inline] |
Definition at line 128 of file SparseVector.h.
Index Eigen::SparseVector< _Scalar, _Options, _Index >::nonZeros | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 120 of file SparseVector.h.
SparseVector& Eigen::SparseVector< _Scalar, _Options, _Index >::operator= | ( | const SparseVector< _Scalar, _Options, _Index > & | other | ) | [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 216 of file SparseVector.h.
SparseVector& Eigen::SparseVector< _Scalar, _Options, _Index >::operator= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 231 of file SparseVector.h.
SparseVector& Eigen::SparseVector< _Scalar, _Options, _Index >::operator= | ( | const SparseSparseProduct< Lhs, Rhs > & | product | ) | [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 241 of file SparseVector.h.
EIGEN_STRONG_INLINE Index Eigen::SparseVector< _Scalar, _Options, _Index >::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 80 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::prune | ( | Scalar | reference, |
RealScalar | epsilon = NumTraits<RealScalar>::dummy_precision() |
||
) | [inline] |
Definition at line 172 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::reserve | ( | Index | reserveSize | ) | [inline] |
Definition at line 167 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::resize | ( | Index | rows, |
Index | cols | ||
) | [inline] |
Definition at line 177 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::resize | ( | Index | newSize | ) | [inline] |
Definition at line 183 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::resizeNonZeros | ( | Index | size | ) | [inline] |
Definition at line 189 of file SparseVector.h.
EIGEN_STRONG_INLINE Index Eigen::SparseVector< _Scalar, _Options, _Index >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 77 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::setZero | ( | ) | [inline] |
Definition at line 117 of file SparseVector.h.
EIGEN_DEPRECATED void Eigen::SparseVector< _Scalar, _Options, _Index >::startFill | ( | Index | reserve | ) | [inline] |
Definition at line 264 of file SparseVector.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::startVec | ( | Index | outer | ) | [inline] |
Definition at line 122 of file SparseVector.h.
internal::traits< SparseVector< _Scalar, _Options, _Index > >::Scalar Eigen::SparseVector< _Scalar, _Options, _Index >::sum | ( | ) | const |
Overloaded for performance
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
Definition at line 37 of file SparseRedux.h.
void Eigen::SparseVector< _Scalar, _Options, _Index >::swap | ( | SparseVector< _Scalar, _Options, _Index > & | other | ) | [inline] |
Definition at line 210 of file SparseVector.h.
EIGEN_STRONG_INLINE const Scalar* Eigen::SparseVector< _Scalar, _Options, _Index >::valuePtr | ( | ) | const [inline] |
Definition at line 82 of file SparseVector.h.
EIGEN_STRONG_INLINE Scalar* Eigen::SparseVector< _Scalar, _Options, _Index >::valuePtr | ( | ) | [inline] |
Definition at line 83 of file SparseVector.h.
std::ostream& operator<< | ( | std::ostream & | s, |
const SparseVector< _Scalar, _Options, _Index > & | m | ||
) | [friend] |
Definition at line 247 of file SparseVector.h.
internal::CompressedStorage<Scalar,Index> Eigen::SparseVector< _Scalar, _Options, _Index >::m_data |
Definition at line 69 of file SparseVector.h.
Index Eigen::SparseVector< _Scalar, _Options, _Index >::m_size |
Definition at line 70 of file SparseVector.h.