|
typedef _Scalar | Scalar |
|
typedef _StorageIndex | StorageIndex |
|
typedef NumTraits< Scalar >::Real | RealScalar |
|
|
| AmbiVector (Index size) |
|
void | init (double estimatedDensity) |
|
void | init (int mode) |
|
Index | nonZeros () const |
|
void | setBounds (Index start, Index end) |
| Specifies a sub-vector to work on.
|
|
void | setZero () |
| Set all coefficients of current subvector to zero.
|
|
void | restart () |
| Must be called whenever we might perform a write access with an index smaller than the previous one. More...
|
|
Scalar & | coeffRef (Index i) |
|
Scalar & | coeff (Index i) |
|
void | resize (Index size) |
|
StorageIndex | size () const |
|
|
StorageIndex | convert_index (Index idx) |
|
void | reallocate (Index size) |
|
void | reallocateSparse () |
|
|
Scalar * | m_buffer |
|
Scalar | m_zero |
|
StorageIndex | m_size |
|
StorageIndex | m_start |
|
StorageIndex | m_end |
|
StorageIndex | m_allocatedSize |
|
StorageIndex | m_allocatedElements |
|
StorageIndex | m_mode |
|
StorageIndex | m_llStart |
|
StorageIndex | m_llCurrent |
|
StorageIndex | m_llSize |
|
§ nonZeros()
template<typename _Scalar , typename _StorageIndex >
- Returns
- the number of non zeros in the current sub vector
§ restart()
template<typename _Scalar , typename _StorageIndex >
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.
The documentation for this class was generated from the following file: