|
|
typedef _Scalar | Scalar |
| |
|
typedef _Index | Index |
| |
|
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) |
| |
|
Index | size () const |
| |
|
|
void | reallocate (Index size) |
| |
|
void | reallocateSparse () |
| |
|
|
Scalar * | m_buffer |
| |
|
Scalar | m_zero |
| |
|
Index | m_size |
| |
|
Index | m_start |
| |
|
Index | m_end |
| |
|
Index | m_allocatedSize |
| |
|
Index | m_allocatedElements |
| |
|
Index | m_mode |
| |
|
Index | m_llStart |
| |
|
Index | m_llCurrent |
| |
|
Index | m_llSize |
| |
§ nonZeros()
template<typename _Scalar , typename _Index >
- Returns
- the number of non zeros in the current sub vector
§ restart()
template<typename _Scalar , typename _Index >
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: