Expression of a dense or sparse matrix with zero or too small values removed. More...
#include <ForwardDeclarations.h>
Public Types | |
typedef internal::remove_all< MatrixType >::type | NestedExpression |
Public Member Functions | |
Index | cols () const |
RealScalar | epsilon () const |
Index | innerSize () const |
const internal::remove_all< MatrixTypeNested >::type & | nestedExpression () const |
Index | outerSize () const |
Scalar | reference () const |
Index | rows () const |
SparseView (const MatrixType &mat, const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision()) | |
Protected Attributes | |
RealScalar | m_epsilon |
MatrixTypeNested | m_matrix |
Scalar | m_reference |
Private Types | |
typedef internal::remove_all< MatrixTypeNested >::type | _MatrixTypeNested |
typedef SparseMatrixBase< SparseView > | Base |
typedef MatrixType::Nested | MatrixTypeNested |
Expression of a dense or sparse matrix with zero or too small values removed.
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.
Definition at line 124 of file ForwardDeclarations.h.
|
private |
Definition at line 48 of file SparseView.h.
|
private |
Definition at line 49 of file SparseView.h.
|
private |
Definition at line 47 of file SparseView.h.
Definition at line 52 of file SparseView.h.
|
inlineexplicit |
Definition at line 54 of file SparseView.h.
|
inline |
Definition at line 59 of file SparseView.h.
|
inline |
Definition at line 69 of file SparseView.h.
|
inline |
Definition at line 61 of file SparseView.h.
|
inline |
Definition at line 66 of file SparseView.h.
|
inline |
Definition at line 62 of file SparseView.h.
|
inline |
Definition at line 68 of file SparseView.h.
|
inline |
Definition at line 58 of file SparseView.h.
|
protected |
Definition at line 74 of file SparseView.h.
|
protected |
Definition at line 72 of file SparseView.h.
|
protected |
Definition at line 73 of file SparseView.h.