#include <AmbiVector.h>
Classes | |
class | Iterator |
struct | ListEl |
Public Types | |
typedef _Index | Index |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef _Scalar | Scalar |
Public Member Functions | |
AmbiVector (Index size) | |
Scalar & | coeff (Index i) |
Scalar & | coeffRef (Index i) |
void | init (double estimatedDensity) |
void | init (int mode) |
Index | nonZeros () const |
void | resize (Index size) |
void | restart () |
void | setBounds (Index start, Index end) |
void | setZero () |
Index | size () const |
~AmbiVector () | |
Protected Member Functions | |
void | reallocate (Index size) |
void | reallocateSparse () |
Protected Attributes | |
Index | m_allocatedElements |
Index | m_allocatedSize |
Scalar * | m_buffer |
Index | m_end |
Index | m_llCurrent |
Index | m_llSize |
Index | m_llStart |
Index | m_mode |
Index | m_size |
Index | m_start |
Scalar | m_zero |
Definition at line 23 of file AmbiVector.h.
typedef _Index Eigen::internal::AmbiVector< _Scalar, _Index >::Index |
Definition at line 27 of file AmbiVector.h.
typedef NumTraits<Scalar>::Real Eigen::internal::AmbiVector< _Scalar, _Index >::RealScalar |
Definition at line 28 of file AmbiVector.h.
typedef _Scalar Eigen::internal::AmbiVector< _Scalar, _Index >::Scalar |
Definition at line 26 of file AmbiVector.h.
Eigen::internal::AmbiVector< _Scalar, _Index >::AmbiVector | ( | Index | size | ) | [inline] |
Definition at line 30 of file AmbiVector.h.
Eigen::internal::AmbiVector< _Scalar, _Index >::~AmbiVector | ( | ) | [inline] |
Definition at line 52 of file AmbiVector.h.
_Scalar & Eigen::internal::AmbiVector< _Scalar, _Index >::coeff | ( | Index | i | ) |
Definition at line 251 of file AmbiVector.h.
_Scalar & Eigen::internal::AmbiVector< _Scalar, _Index >::coeffRef | ( | Index | i | ) |
Definition at line 182 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::init | ( | double | estimatedDensity | ) |
Definition at line 134 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::init | ( | int | mode | ) |
Definition at line 143 of file AmbiVector.h.
_Index Eigen::internal::AmbiVector< _Scalar, _Index >::nonZeros | ( | ) | const |
Definition at line 125 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::reallocate | ( | Index | size | ) | [inline, protected] |
Definition at line 65 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::reallocateSparse | ( | ) | [inline, protected] |
Definition at line 86 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::resize | ( | Index | size | ) | [inline] |
Definition at line 54 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::restart | ( | ) |
Must be called whenever we might perform a write access with an index smaller than the previous one.
Don't worry, this function is extremely cheap.
Definition at line 159 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::setBounds | ( | Index | start, |
Index | end | ||
) | [inline] |
Specifies a sub-vector to work on
Definition at line 42 of file AmbiVector.h.
void Eigen::internal::AmbiVector< _Scalar, _Index >::setZero | ( | ) |
Set all coefficients of current subvector to zero
Definition at line 166 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::size | ( | void | ) | const [inline] |
Definition at line 61 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_allocatedElements [protected] |
Definition at line 114 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_allocatedSize [protected] |
Definition at line 113 of file AmbiVector.h.
Scalar* Eigen::internal::AmbiVector< _Scalar, _Index >::m_buffer [protected] |
Definition at line 108 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_end [protected] |
Definition at line 112 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_llCurrent [protected] |
Definition at line 119 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_llSize [protected] |
Definition at line 120 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_llStart [protected] |
Definition at line 118 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_mode [protected] |
Definition at line 115 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_size [protected] |
Definition at line 110 of file AmbiVector.h.
Index Eigen::internal::AmbiVector< _Scalar, _Index >::m_start [protected] |
Definition at line 111 of file AmbiVector.h.
Scalar Eigen::internal::AmbiVector< _Scalar, _Index >::m_zero [protected] |
Definition at line 109 of file AmbiVector.h.