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.

Classes | |
| class | InnerIterator |
Public Types | |
| enum | { IsColVector = internal::traits<SparseVector>::IsColVector } |
| enum | { Options = _Options } |
| typedef SparseMatrixBase < SparseVector > | SparseBase |
Public Member Functions | |
| CompressedStorage< Scalar, Index > & | _data () |
| CompressedStorage< Scalar, Index > & | _data () const |
| EIGEN_STRONG_INLINE Index | rows () const |
| EIGEN_STRONG_INLINE Index | cols () const |
| EIGEN_STRONG_INLINE Index | innerSize () const |
| EIGEN_STRONG_INLINE Index | outerSize () const |
| EIGEN_STRONG_INLINE Index | innerNonZeros (Index j) const |
| EIGEN_STRONG_INLINE const Scalar * | _valuePtr () const |
| EIGEN_STRONG_INLINE Scalar * | _valuePtr () |
| EIGEN_STRONG_INLINE const Index * | _innerIndexPtr () const |
| EIGEN_STRONG_INLINE Index * | _innerIndexPtr () |
| Scalar | coeff (Index row, Index col) const |
| Scalar | coeff (Index i) const |
| Scalar & | coeffRef (Index row, Index col) |
| Scalar & | coeffRef (Index i) |
| void | setZero () |
| Index | nonZeros () const |
| void | startVec (Index outer) |
| Scalar & | insertBackByOuterInner (Index outer, Index inner) |
| Scalar & | insertBack (Index i) |
| Scalar & | insert (Index row, Index col) |
| Scalar & | insert (Index i) |
| void | reserve (Index reserveSize) |
| void | finalize () |
| void | prune (Scalar reference, RealScalar epsilon=NumTraits< RealScalar >::dummy_precision()) |
| void | resize (Index rows, Index cols) |
| void | resize (Index newSize) |
| void | resizeNonZeros (Index size) |
| SparseVector () | |
| SparseVector (Index size) | |
| SparseVector (Index rows, Index cols) | |
| template<typename OtherDerived > | |
| SparseVector (const MatrixBase< OtherDerived > &other) | |
| template<typename OtherDerived > | |
| SparseVector (const SparseMatrixBase< OtherDerived > &other) | |
| SparseVector (const SparseVector &other) | |
| void | swap (SparseVector &other) |
| SparseVector & | operator= (const SparseVector &other) |
| template<typename OtherDerived > | |
| SparseVector & | operator= (const SparseMatrixBase< OtherDerived > &other) |
| ~SparseVector () | |
| Destructor. | |
| Scalar | sum () const |
| Overloaded for performance. | |
| EIGEN_DEPRECATED void | startFill (Index reserve) |
| 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) |
| EIGEN_DEPRECATED void | endFill () |
Public Attributes | |
| CompressedStorage< Scalar, Index > | m_data |
| Index | m_size |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const SparseVector &m) |
| Eigen::SparseVector::SparseVector | ( | const MatrixBase< OtherDerived > & | other | ) | [inline] |
| Eigen::SparseVector::SparseVector | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inline] |
| Eigen::SparseVector::SparseVector | ( | const SparseVector & | other | ) | [inline] |
| CompressedStorage<Scalar,Index>& Eigen::SparseVector::_data | ( | ) | [inline] |
| CompressedStorage<Scalar,Index>& Eigen::SparseVector::_data | ( | ) | const [inline] |
| EIGEN_STRONG_INLINE const Index* Eigen::SparseVector::_innerIndexPtr | ( | ) | const [inline] |
| EIGEN_STRONG_INLINE Index* Eigen::SparseVector::_innerIndexPtr | ( | ) | [inline] |
| EIGEN_STRONG_INLINE const Scalar* Eigen::SparseVector::_valuePtr | ( | ) | const [inline] |
| EIGEN_STRONG_INLINE Scalar* Eigen::SparseVector::_valuePtr | ( | ) | [inline] |
This insertion might be very costly if the number of nonzeros above i is large.
| EIGEN_STRONG_INLINE Index Eigen::SparseVector::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
| EIGEN_DEPRECATED void Eigen::SparseVector::endFill | ( | ) | [inline] |
| EIGEN_STRONG_INLINE Index Eigen::SparseVector::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
| Index Eigen::SparseVector::nonZeros | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
| SparseVector& Eigen::SparseVector::operator= | ( | const SparseVector & | other | ) | [inline] |
| SparseVector& Eigen::SparseVector::operator= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
| EIGEN_STRONG_INLINE Index Eigen::SparseVector::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
| void Eigen::SparseVector::reserve | ( | Index | reserveSize | ) | [inline] |
| void Eigen::SparseVector::resizeNonZeros | ( | Index | size | ) | [inline] |
| EIGEN_STRONG_INLINE Index Eigen::SparseVector::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
| EIGEN_DEPRECATED void Eigen::SparseVector::startFill | ( | Index | reserve | ) | [inline] |
| internal::traits< SparseVector< _Scalar, _Options, _Index > >::Scalar Eigen::SparseVector::sum | ( | ) | const |
Overloaded for performance.
Reimplemented from Eigen::SparseMatrixBase< SparseVector< _Scalar, _Options, _Index > >.
| void Eigen::SparseVector::swap | ( | SparseVector & | other | ) | [inline] |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const SparseVector & | m | ||
| ) | [friend] |
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Sun Oct 16 12:16:33 UTC 2011 |