Expression of a dense or sparse matrix with zero or too small values removed.
More...
#include <SparseView.h>
|
| SparseView (const MatrixType &mat, const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision()) |
|
Index | rows () const |
|
Index | cols () const |
|
Index | innerSize () const |
|
Index | outerSize () const |
|
const internal::remove_all< MatrixTypeNested >::type & | nestedExpression () const |
|
Scalar | reference () const |
|
RealScalar | epsilon () const |
|
|
MatrixTypeNested | m_matrix |
|
Scalar | m_reference |
|
RealScalar | m_epsilon |
|
template<typename MatrixType>
class Eigen::SparseView< MatrixType >
Expression of a dense or sparse matrix with zero or too small values removed.
- Template Parameters
-
MatrixType | the type of the object of which we are removing the small entries |
This class represents an expression of a given dense or sparse matrix with entries smaller than reference
* epsilon
are removed. It is the return type of MatrixBase::sparseView() and SparseMatrixBase::pruned() and most of the time this is the only way it is used.
- See also
- MatrixBase::sparseView(), SparseMatrixBase::pruned()
◆ nestedExpression()
template<typename MatrixType >
- Returns
- the nested expression
The documentation for this class was generated from the following files: