Stores a sparse set of values as a list of values and a list of indices.

Public Types | |
| typedef _Scalar | Scalar |
| typedef _Index | Index |
Public Member Functions | |
| CompressedStorage () | |
| CompressedStorage (size_t size) | |
| CompressedStorage (const CompressedStorage &other) | |
| CompressedStorage & | operator= (const CompressedStorage &other) |
| void | swap (CompressedStorage &other) |
| ~CompressedStorage () | |
| void | reserve (size_t size) |
| void | squeeze () |
| void | resize (size_t size, float reserveSizeFactor=0) |
| void | append (const Scalar &v, Index i) |
| size_t | size () const |
| size_t | allocatedSize () const |
| void | clear () |
| Scalar & | value (size_t i) |
| const Scalar & | value (size_t i) const |
| Index & | index (size_t i) |
| const Index & | index (size_t i) const |
| Index | searchLowerIndex (Index key) const |
| Index | searchLowerIndex (size_t start, size_t end, Index key) const |
| Scalar | at (Index key, Scalar defaultValue=Scalar(0)) const |
| Scalar | atInRange (size_t start, size_t end, Index key, Scalar defaultValue=Scalar(0)) const |
| Like at(), but the search is performed in the range [start,end) | |
| Scalar & | atWithInsertion (Index key, Scalar defaultValue=Scalar(0)) |
| void | prune (Scalar reference, RealScalar epsilon=NumTraits< RealScalar >::dummy_precision()) |
Static Public Member Functions | |
| static CompressedStorage | Map (Index *indices, Scalar *values, size_t size) |
Protected Types | |
| typedef NumTraits< Scalar >::Real | RealScalar |
Protected Member Functions | |
| void | reallocate (size_t size) |
Protected Attributes | |
| Scalar * | m_values |
| Index * | m_indices |
| size_t | m_size |
| size_t | m_allocatedSize |
| typedef _Index Eigen::CompressedStorage::Index |
typedef NumTraits<Scalar>::Real Eigen::CompressedStorage::RealScalar [protected] |
| typedef _Scalar Eigen::CompressedStorage::Scalar |
| Eigen::CompressedStorage::CompressedStorage | ( | size_t | size | ) | [inline] |
| Eigen::CompressedStorage::CompressedStorage | ( | const CompressedStorage & | other | ) | [inline] |
| size_t Eigen::CompressedStorage::allocatedSize | ( | ) | const [inline] |
| const Index& Eigen::CompressedStorage::index | ( | size_t | i | ) | const [inline] |
| static CompressedStorage Eigen::CompressedStorage::Map | ( | Index * | indices, |
| Scalar * | values, | ||
| size_t | size | ||
| ) | [inline, static] |
| CompressedStorage& Eigen::CompressedStorage::operator= | ( | const CompressedStorage & | other | ) | [inline] |
| void Eigen::CompressedStorage::prune | ( | Scalar | reference, |
| RealScalar | epsilon = NumTraits<RealScalar>::dummy_precision() |
||
| ) | [inline] |
| void Eigen::CompressedStorage::reallocate | ( | size_t | size | ) | [inline, protected] |
| void Eigen::CompressedStorage::reserve | ( | size_t | size | ) | [inline] |
| void Eigen::CompressedStorage::resize | ( | size_t | size, |
| float | reserveSizeFactor = 0 |
||
| ) | [inline] |
| void Eigen::CompressedStorage::swap | ( | CompressedStorage & | other | ) | [inline] |
| const Scalar& Eigen::CompressedStorage::value | ( | size_t | i | ) | const [inline] |
size_t Eigen::CompressedStorage::m_allocatedSize [protected] |
Index* Eigen::CompressedStorage::m_indices [protected] |
size_t Eigen::CompressedStorage::m_size [protected] |
Scalar* Eigen::CompressedStorage::m_values [protected] |
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |