|
| enum | { Mode = internal::traits<SelfAdjointView>::Mode,
Flags = internal::traits<SelfAdjointView>::Flags,
TransposeMode = ((Mode & Upper) ? Lower : 0) | ((Mode & Lower) ? Upper : 0)
} |
| |
| typedef SelfAdjointView< const typename MatrixType::AdjointReturnType, TransposeMode > | AdjointReturnType |
| |
| typedef TriangularBase< SelfAdjointView > | Base |
| |
| typedef SelfAdjointView< const MatrixConjugateReturnType, UpLo > | ConjugateReturnType |
| |
| typedef SelfAdjointView< const typename MatrixType::ConstTransposeReturnType, TransposeMode > | ConstTransposeReturnType |
| |
| typedef Matrix< RealScalar, internal::traits< MatrixType >::ColsAtCompileTime, 1 > | EigenvaluesReturnType |
| |
| typedef internal::remove_all< typename MatrixType::ConjugateReturnType >::type | MatrixConjugateReturnType |
| |
| typedef _MatrixType | MatrixType |
| |
| typedef internal::traits< SelfAdjointView >::MatrixTypeNested | MatrixTypeNested |
| |
| typedef internal::traits< SelfAdjointView >::MatrixTypeNestedCleaned | MatrixTypeNestedCleaned |
| |
| typedef MatrixTypeNestedCleaned | NestedExpression |
| |
| typedef MatrixType::PlainObject | PlainObject |
| |
| typedef NumTraits< Scalar >::Real | RealScalar |
| |
| typedef internal::traits< SelfAdjointView >::Scalar | Scalar |
| | The type of coefficients in this matrix. More...
|
| |
| typedef MatrixType::StorageIndex | StorageIndex |
| |
| typedef SelfAdjointView< typename MatrixType::TransposeReturnType, TransposeMode > | TransposeReturnType |
| |
| enum | |
| |
| typedef internal::traits< SelfAdjointView< _MatrixType, UpLo > >::FullMatrixType | DenseMatrixType |
| |
| typedef DenseMatrixType | DenseType |
| |
| typedef SelfAdjointView< _MatrixType, UpLo > const & | Nested |
| |
| typedef internal::traits< SelfAdjointView< _MatrixType, UpLo > >::Scalar | Scalar |
| |
| typedef internal::traits< SelfAdjointView< _MatrixType, UpLo > >::StorageIndex | StorageIndex |
| |
| typedef internal::traits< SelfAdjointView< _MatrixType, UpLo > >::StorageKind | StorageKind |
| |
| typedef Eigen::Index | Index |
| | The interface type of indices. More...
|
| |
| typedef internal::traits< Derived >::StorageKind | StorageKind |
| |
|
| EIGEN_DEVICE_FUNC const MatrixTypeNestedCleaned & | _expression () const |
| |
| EIGEN_DEVICE_FUNC const AdjointReturnType | adjoint () const |
| |
| EIGEN_DEVICE_FUNC Scalar | coeff (Index row, Index col) const |
| |
| EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index row, Index col) |
| |
| EIGEN_DEVICE_FUNC Index | cols () const |
| |
| EIGEN_DEVICE_FUNC const ConjugateReturnType | conjugate () const |
| |
| EIGEN_DEVICE_FUNC MatrixType::ConstDiagonalReturnType | diagonal () const |
| |
| EIGEN_DEVICE_FUNC EigenvaluesReturnType | eigenvalues () const |
| | Computes the eigenvalues of a matrix. More...
|
| |
| EIGEN_DEVICE_FUNC Index | innerStride () const |
| |
| const LDLT< PlainObject, UpLo > | ldlt () const |
| |
| const LLT< PlainObject, UpLo > | llt () const |
| |
| EIGEN_DEVICE_FUNC const MatrixTypeNestedCleaned & | nestedExpression () const |
| |
| EIGEN_DEVICE_FUNC MatrixTypeNestedCleaned & | nestedExpression () |
| |
| template<typename OtherDerived > |
| EIGEN_DEVICE_FUNC const Product< SelfAdjointView, OtherDerived > | operator* (const MatrixBase< OtherDerived > &rhs) const |
| |
| EIGEN_DEVICE_FUNC RealScalar | operatorNorm () const |
| | Computes the L2 operator norm. More...
|
| |
| EIGEN_DEVICE_FUNC Index | outerStride () const |
| |
| template<typename DerivedU , typename DerivedV > |
| SelfAdjointView< MatrixType, UpLo > & | rankUpdate (const MatrixBase< DerivedU > &u, const MatrixBase< DerivedV > &v, const Scalar &alpha) |
| |
| template<typename DerivedU > |
| SelfAdjointView< MatrixType, UpLo > & | rankUpdate (const MatrixBase< DerivedU > &u, const Scalar &alpha) |
| |
| template<typename DerivedU , typename DerivedV > |
| EIGEN_DEVICE_FUNC SelfAdjointView & | rankUpdate (const MatrixBase< DerivedU > &u, const MatrixBase< DerivedV > &v, const Scalar &alpha=Scalar(1)) |
| |
| template<typename DerivedU > |
| EIGEN_DEVICE_FUNC SelfAdjointView & | rankUpdate (const MatrixBase< DerivedU > &u, const Scalar &alpha=Scalar(1)) |
| |
| EIGEN_DEVICE_FUNC Index | rows () const |
| |
| EIGEN_DEVICE_FUNC | SelfAdjointView (MatrixType &matrix) |
| |
| EIGEN_DEVICE_FUNC TransposeReturnType | transpose () |
| |
| EIGEN_DEVICE_FUNC const ConstTransposeReturnType | transpose () const |
| |
| template<unsigned int TriMode> |
| EIGEN_DEVICE_FUNC internal::conditional<(TriMode &(Upper|Lower))==(UpLo &(Upper|Lower)), TriangularView< MatrixType, TriMode >, TriangularView< typename MatrixType::AdjointReturnType, TriMode > >::type | triangularView () const |
| |
| EIGEN_DEVICE_FUNC Scalar | coeff (Index row, Index col) const |
| |
| EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index row, Index col) |
| |
| EIGEN_DEVICE_FUNC Index | cols () const |
| |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void | copyCoeff (Index row, Index col, Other &other) |
| |
| EIGEN_DEVICE_FUNC const SelfAdjointView< _MatrixType, UpLo > & | derived () const |
| |
| EIGEN_DEVICE_FUNC SelfAdjointView< _MatrixType, UpLo > & | derived () |
| |
| EIGEN_DEVICE_FUNC void | evalTo (MatrixBase< DenseDerived > &other) const |
| |
| void | evalTo (MatrixBase< DenseDerived > &other) const |
| |
| EIGEN_DEVICE_FUNC void | evalToLazy (MatrixBase< DenseDerived > &other) const |
| |
| void | evalToLazy (MatrixBase< DenseDerived > &other) const |
| |
| EIGEN_DEVICE_FUNC Index | innerStride () const |
| |
| EIGEN_DEVICE_FUNC Scalar | operator() (Index row, Index col) const |
| |
| EIGEN_DEVICE_FUNC Scalar & | operator() (Index row, Index col) |
| |
| EIGEN_DEVICE_FUNC Index | outerStride () const |
| |
| void | resize (Index rows, Index cols) |
| |
| EIGEN_DEVICE_FUNC Index | rows () const |
| |
| EIGEN_DEVICE_FUNC DenseMatrixType | toDenseMatrix () const |
| |
| EIGEN_DEVICE_FUNC | TriangularBase () |
| |
| template<typename Dest > |
| EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
| |
| template<typename Dest > |
| EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
| |
| template<typename Dest > |
| EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
| |
| EIGEN_DEVICE_FUNC Index | cols () const |
| |
| EIGEN_DEVICE_FUNC Derived & | const_cast_derived () const |
| |
| EIGEN_DEVICE_FUNC const Derived & | const_derived () const |
| |
| EIGEN_DEVICE_FUNC Derived & | derived () |
| |
| EIGEN_DEVICE_FUNC const Derived & | derived () const |
| |
| template<typename Dest > |
| EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
| |
| EIGEN_DEVICE_FUNC Index | rows () const |
| |
| EIGEN_DEVICE_FUNC Index | size () const |
| |
| template<typename Dest > |
| EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
| |
template<typename _MatrixType, unsigned int UpLo>
class Eigen::SelfAdjointView< _MatrixType, UpLo >
Expression of a selfadjoint matrix from a triangular part of a dense matrix.
- Parameters
-
| MatrixType | the type of the dense matrix storing the coefficients |
| TriangularPart | can be either Lower or Upper |
This class is an expression of a sefladjoint matrix from a triangular part of a matrix with given dense storage of the coefficients. It is the return type of MatrixBase::selfadjointView() and most of the time this is the only way that it is used.
- See also
- class TriangularBase, MatrixBase::selfadjointView()
Definition at line 49 of file SelfAdjointView.h.
template<typename _MatrixType, unsigned int UpLo>
template<typename DerivedU , typename DerivedV >
Perform a symmetric rank 2 update of the selfadjoint matrix *this:
- Returns
- a reference to
*this
The vectors u and v must be column vectors, however they can be a adjoint expression without any overhead. Only the meaningful triangular part of the matrix is updated, the rest is left unchanged.
- See also
- rankUpdate(const MatrixBase<DerivedU>&, Scalar)
template<typename _MatrixType, unsigned int UpLo>
template<unsigned int TriMode>
- Returns
- an expression of a triangular view extracted from the current selfadjoint view of a given triangular part
The parameter TriMode can have the following values: Upper, StrictlyUpper, UnitUpper, Lower, StrictlyLower, UnitLower.
If TriMode references the same triangular part than *this, then this method simply return a TriangularView of the nested expression, otherwise, the nested expression is first transposed, thus returning a TriangularView<Transpose<MatrixType>> object.
- See also
- MatrixBase::triangularView(), class TriangularView
Definition at line 185 of file SelfAdjointView.h.