W3cubDocs

/Eigen3

Eigen::SparseView

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()
const internal::remove_all< MatrixTypeNested >::type & nestedExpression () const
- Public Member Functions inherited from Eigen::SparseMatrixBase< SparseView< MatrixType > >
Index cols () const
const internal::eval< SparseView< MatrixType > >::type eval () const
Index innerSize () const
bool isVector () const
const Product< SparseView< MatrixType >, OtherDerived, AliasFreeProduct > operator* (const SparseMatrixBase< OtherDerived > &other) const
Index outerSize () const
const SparseView< SparseView< MatrixType > > pruned (const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision()) const
Index rows () const
Index size () const
SparseSymmetricPermutationProduct< SparseView< MatrixType >, Upper|Lower > twistedBy (const PermutationMatrix< Dynamic, Dynamic, StorageIndex > &perm) const
- Public Member Functions inherited from Eigen::EigenBase< SparseView< MatrixType > >
EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
SparseView< MatrixType > & derived ()
const SparseView< MatrixType > & derived () const
EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Index size () const EIGEN_NOEXCEPT
- Public Types inherited from Eigen::SparseMatrixBase< SparseView< MatrixType > >
typedef internal::traits< SparseView< MatrixType > >::StorageIndex StorageIndex
typedef Scalar value_type
- Public Types inherited from Eigen::EigenBase< SparseView< MatrixType > >
typedef Eigen::Index Index
The interface type of indices. More...

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:

© Eigen.
Licensed under the MPL2 License.
https://eigen.tuxfamily.org/dox/classEigen_1_1SparseView.html