Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
Eigen  3.4.0
Loading...
Searching...
No Matches
Eigen::TriangularViewImpl< MatrixType, Mode, Sparse > Class Template Reference

Detailed Description

template<typename MatrixType, unsigned int Mode>
class Eigen::TriangularViewImpl< MatrixType, Mode, Sparse >

Base class for a triangular part in a sparse matrix.

This class is an abstract base class of class TriangularView, and objects of type TriangularViewImpl cannot be instantiated. It extends class TriangularView with additional methods which are available for sparse expressions only.

See also
class TriangularView, SparseMatrixBase::triangularView()
Inheritance diagram for Eigen::TriangularViewImpl< MatrixType, Mode, Sparse >:

Public Member Functions

template<typename OtherDerived>
void solveInPlace (MatrixBase< OtherDerived > &other) const
template<typename OtherDerived>
void solveInPlace (SparseMatrixBase< OtherDerived > &other) const
Public Member Functions inherited from Eigen::SparseMatrixBase< TriangularView< MatrixType, Mode > >
const CwiseBinaryOp< CustomBinaryOp, const TriangularView< MatrixType, Mode >, const OtherDerived > binaryExpr (const Eigen::SparseMatrixBase< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
FixedBlockXpr<...,... >::Type block (Index startRow, Index startCol, NRowsType blockRows, NColsType blockCols)
FixedBlockXpr<...,... >::Type bottomLeftCorner (NRowsType cRows, NColsType cCols)
FixedBlockXpr<...,... >::Type bottomRightCorner (NRowsType cRows, NColsType cCols)
NRowsBlockXpr<... >::Type bottomRows (NRowsType n)
CastXpr< NewType >::Type cast () const
ColXpr col (Index i)
Index cols () const
ConjugateReturnType conjugate () const
internal::conditional< Cond, ConjugateReturnType, constDerived & >::type conjugateIf () const
const CwiseAbsReturnType cwiseAbs () const
const CwiseAbs2ReturnType cwiseAbs2 () const
const CwiseArgReturnType cwiseArg () const
const CwiseBinaryOp< numext::equal_to< Scalar >, const TriangularView< MatrixType, Mode >, const OtherDerived > cwiseEqual (const Eigen::SparseMatrixBase< OtherDerived > &other) const
const CwiseInverseReturnType cwiseInverse () const
const CwiseBinaryOp< internal::scalar_max_op< Scalar, Scalar >, const TriangularView< MatrixType, Mode >, const OtherDerived > cwiseMax (const Eigen::SparseMatrixBase< OtherDerived > &other) const
const CwiseBinaryOp< internal::scalar_min_op< Scalar, Scalar >, const TriangularView< MatrixType, Mode >, const OtherDerived > cwiseMin (const Eigen::SparseMatrixBase< OtherDerived > &other) const
const CwiseBinaryOp< numext::not_equal_to< Scalar >, const TriangularView< MatrixType, Mode >, const OtherDerived > cwiseNotEqual (const Eigen::SparseMatrixBase< OtherDerived > &other) const
const CwiseBinaryOp< internal::scalar_quotient_op< Scalar >, const TriangularView< MatrixType, Mode >, const OtherDerived > cwiseQuotient (const Eigen::SparseMatrixBase< OtherDerived > &other) const
const CwiseSignReturnType cwiseSign () const
const CwiseSqrtReturnType cwiseSqrt () const
const internal::eval< TriangularView< MatrixType, Mode > >::type eval () const
FixedSegmentReturnType<... >::Type head (NType n)
const ImagReturnType imag () const
Index innerSize () const
InnerVectorReturnType innerVector (Index outer)
InnerVectorsReturnType innerVectors (Index outerStart, Index outerSize)
bool isVector () const
NColsBlockXpr<... >::Type leftCols (NColsType n)
NColsBlockXpr<... >::Type middleCols (Index startCol, NColsType numCols)
NRowsBlockXpr<... >::Type middleRows (Index startRow, NRowsType n)
const CwiseBinaryOp< internal::scalar_boolean_and_op, const TriangularView< MatrixType, Mode >, const OtherDerived > operator&& (const Eigen::SparseMatrixBase< OtherDerived > &other) const
const CwiseBinaryOp< internal::scalar_product_op< Scalar, T >, TriangularView< MatrixType, Mode >, Constant< T > > operator* (const T &scalar) const
const CwiseBinaryOp< sum< Scalar >, const TriangularView< MatrixType, Mode >, const OtherDerived > operator+ (const Eigen::SparseMatrixBase< OtherDerived > &other) const
const NegativeReturnType operator- () const
const CwiseBinaryOp< internal::scalar_quotient_op< Scalar, T >, TriangularView< MatrixType, Mode >, Constant< T > > operator/ (const T &scalar) const
const CwiseBinaryOp< internal::scalar_boolean_or_op, const TriangularView< MatrixType, Mode >, const OtherDerived > operator|| (const Eigen::SparseMatrixBase< OtherDerived > &other) const
Index outerSize () const
const SparseView< TriangularView< MatrixType, Mode > > pruned (const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision()) const
RealReturnType real () const
NColsBlockXpr<... >::Type rightCols (NColsType n)
RowXpr row (Index i)
Index rows () const
FixedSegmentReturnType<... >::Type segment (Index start, NType n)
Index size () const
internal::conditional< Direction==Vertical, ColXpr, RowXpr >::type subVector (Index i)
EIGEN_CONSTEXPR Index subVectors () const
FixedSegmentReturnType<... >::Type tail (NType n)
FixedBlockXpr<...,... >::Type topLeftCorner (NRowsType cRows, NColsType cCols)
FixedBlockXpr<...,... >::Type topRightCorner (NRowsType cRows, NColsType cCols)
NRowsBlockXpr<... >::Type topRows (NRowsType n)
SparseSymmetricPermutationProduct< TriangularView< MatrixType, Mode >, Upper|LowertwistedBy (const PermutationMatrix< Dynamic, Dynamic, StorageIndex > &perm) const
const CwiseUnaryOp< CustomUnaryOp, const TriangularView< MatrixType, Mode > > unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
 Apply a unary operator coefficient-wise.
const CwiseUnaryView< CustomViewOp, const TriangularView< MatrixType, Mode > > unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const
Public Member Functions inherited from Eigen::EigenBase< TriangularView< MatrixType, Mode > >
EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
TriangularView< MatrixType, Mode > & derived ()
EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Index size () const EIGEN_NOEXCEPT

Additional Inherited Members

Public Types inherited from Eigen::SparseMatrixBase< TriangularView< MatrixType, Mode > >
typedef internal::traits< TriangularView< MatrixType, Mode > >::StorageIndex StorageIndex
typedef Scalar value_type
Public Types inherited from Eigen::EigenBase< TriangularView< MatrixType, Mode > >
typedef Eigen::Index Index
 The interface type of indices.

Member Function Documentation

◆ solveInPlace() [1/2]

template<typename MatrixType, unsigned int Mode>
template<typename OtherDerived>
void Eigen::TriangularViewImpl< MatrixType, Mode, Sparse >::solveInPlace ( MatrixBase< OtherDerived > & other) const

Applies the inverse of *this to the dense vector or matrix other, "in-place"

◆ solveInPlace() [2/2]

template<typename MatrixType, unsigned int Mode>
template<typename OtherDerived>
void Eigen::TriangularViewImpl< MatrixType, Mode, Sparse >::solveInPlace ( SparseMatrixBase< OtherDerived > & other) const

Applies the inverse of *this to the sparse vector or matrix other, "in-place"


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