Path Tracer
Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::SparseView< MatrixType > Class Template Reference

Expression of a dense or sparse matrix with zero or too small values removed. More...

#include <SparseView.h>

Public Types

typedef internal::remove_all< MatrixType >::type NestedExpression
 

Public Member Functions

 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
 

Protected Attributes

MatrixTypeNested m_matrix
 
Scalar m_reference
 
RealScalar m_epsilon
 

Detailed Description

template<typename MatrixType>
class Eigen::SparseView< MatrixType >

Expression of a dense or sparse matrix with zero or too small values removed.

Template Parameters
MatrixTypethe 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()

Member Function Documentation

◆ nestedExpression()

template<typename MatrixType >
const internal::remove_all<MatrixTypeNested>::type& Eigen::SparseView< MatrixType >::nestedExpression ( ) const
inline
Returns
the nested expression

The documentation for this class was generated from the following files: