![]() |
Eigen
5.0.1
|
#include <Eigen/src/Core/TriangularMatrix.h>
Base class for triangular part in a matrix.
Inheritance diagram for Eigen::TriangularBase< Derived >:Public Types | |
| enum | { } |
Public Types inherited from Eigen::EigenBase< Derived > | |
| using | Index |
| The interface type of indices. | |
Public Member Functions | |
| const AdjointReturnType | adjoint () const |
| Scalar | coeff (Index row, Index col) const |
| Scalar & | coeffRef (Index row, Index col) |
| const ConjugateReturnType | conjugate () const |
| template<bool Cond> | |
| std::conditional_t< Cond, ConjugateReturnType, ConstView > | conjugateIf () const |
| template<typename Other> | |
| void | copyCoeff (Index row, Index col, Other &other) |
| template<typename DenseDerived> | |
| void | evalTo (MatrixBase< DenseDerived > &other) const |
| template<typename DenseDerived> | |
| void | evalToLazy (MatrixBase< DenseDerived > &other) const |
| void | fill (const Scalar &value) |
| Scalar & | operator() (Index row, Index col) |
| Scalar | operator() (Index row, Index col) const |
| template<typename OtherDerived> | |
| const Product< Derived, Inverse< OtherDerived > > | operator* (const InverseImpl< OtherDerived, PermutationStorage > &rhs) const |
| template<typename OtherDerived> | |
| const Product< Derived, OtherDerived > | operator* (const PermutationBase< OtherDerived > &rhs) const |
| template<typename OtherDerived> | |
| const Product< Derived, OtherDerived > | operator* (const TriangularBase< OtherDerived > &rhs) const |
| template<typename OtherDerived, unsigned int Mode_ = Mode, std::enable_if_t<(int(Mode_) &(int(UnitDiag)|int(ZeroDiag)))==0, int > = 0> | |
| auto | operator+ (const DiagonalBase< OtherDerived > &other) const |
| template<typename OtherDerived, unsigned int Mode_ = Mode, std::enable_if_t<(int(Mode_) &(int(UnitDiag)|int(ZeroDiag)))==0, int > = 0> | |
| auto | operator- (const DiagonalBase< OtherDerived > &other) const |
| Derived & | setConstant (const Scalar &value) |
| Derived & | setIdentity () |
| Derived & | setOnes () |
| Derived & | setRandom () |
| Derived & | setZero () |
| template<class Dummy = int, std::enable_if_t< Eigen::internal::is_lvalue< ExpressionType >::value, Dummy * > = nullptr> | |
| TransposeReturnType | transpose () |
| const ConstTransposeReturnType | transpose () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
| constexpr Index | cols () const noexcept |
| constexpr Derived & | derived () |
| constexpr const Derived & | derived () const |
| constexpr Index | rows () const noexcept |
| constexpr Index | size () const noexcept |
| anonymous enum |
|
inline |
|
inline |
UnitLower / UnitUpper and the structural zeros of the view are not synthesized, so for coordinates outside the part referenced by Mode the stored value is returned as-is. Only evaluation of the view — for example assigning it to a dense matrix or calling toDenseMatrix() — produces the mathematical coefficients implied by Mode.
|
inline |
|
inline |
|
inline |
*this if Cond==true, returns *this otherwise.
|
inline |
| void Eigen::TriangularBase< Derived >::evalTo | ( | MatrixBase< DenseDerived > & | other | ) | const |
Assigns a triangular or selfadjoint matrix to a dense matrix. If the matrix is triangular, the opposite part is set to zero.
| void Eigen::TriangularBase< Derived >::evalToLazy | ( | MatrixBase< DenseDerived > & | other | ) | const |
Assigns a triangular or selfadjoint matrix to a dense matrix. If the matrix is triangular, the opposite part is set to zero.
|
inline |
|
inline |
Like coeffRef(Index,Index), but asserts (in debug builds) that (row, col) lies inside the part referenced by Mode.
|
inline |
Like coeff(Index,Index), but asserts (in debug builds) that (row, col) lies inside the part referenced by Mode; for UnitLower / UnitUpper and the strictly triangular modes that excludes the diagonal, whose implicit values are not stored.
|
inline |
*this with the inverse permutation rhs applied to its columns.
|
inline |
*this with the permutation rhs applied to its columns.
|
inline |
*this by the triangular or self-adjoint view rhs.The right factor is evaluated into a dense temporary and the product runs the kernel of *this times a dense matrix. The result is a plain dense expression even when the structure would be preserved, as for two upper triangular factors.
|
inline |
Mode of the sum of the nested expression and the diagonal matrix other
|
inline |
Mode of the difference of the nested expression and the diagonal matrix other
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |