#include <Eigen/src/SparseCore/AmbiVector.h>
template<typename _Scalar, typename _StorageIndex>
class Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::Iterator
Iterator over the nonzero coefficients
◆ Iterator()
template<typename _Scalar, typename _StorageIndex>
| Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::Iterator::Iterator |
( |
const AmbiVector & | vec, |
|
|
const RealScalar & | epsilon = 0 ) |
|
inlineexplicit |
Default constructor
- Parameters
-
| vec | the vector on which we iterate |
| epsilon | the minimal value used to prune zero coefficients. In practice, all coefficients having a magnitude smaller than epsilon are skipped. |
◆ nonZeros()
| Index Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::nonZeros |
( |
| ) |
const |
- Returns
- the number of non zeros in the current sub vector
◆ restart()
| void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::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.
◆ setBounds()
| void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::setBounds |
( |
Index | start, |
|
|
Index | end ) |
|
inline |
Specifies a sub-vector to work on
◆ setZero()
| void Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::setZero |
( |
| ) |
|
Set all coefficients of current subvector to zero
The documentation for this class was generated from the following file: