Expression of a selfadjoint matrix from a triangular part of a dense matrix.
| 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.

Public Types | |
| enum | { Mode = internal::traits<SelfAdjointView>::Mode } |
| typedef TriangularBase < SelfAdjointView > | Base |
| typedef internal::traits < SelfAdjointView > ::MatrixTypeNested | MatrixTypeNested |
| typedef internal::traits < SelfAdjointView > ::MatrixTypeNestedCleaned | MatrixTypeNestedCleaned |
| typedef internal::traits < SelfAdjointView >::Scalar | Scalar |
| The type of coefficients in this matrix. | |
| typedef MatrixType::Index | Index |
| typedef MatrixType::PlainObject | PlainObject |
| typedef NumTraits< Scalar >::Real | RealScalar |
| Real part of Scalar. | |
| typedef Matrix< RealScalar, internal::traits< MatrixType > ::ColsAtCompileTime, 1 > | EigenvaluesReturnType |
| Return type of eigenvalues() | |
| enum | |
| typedef internal::traits < Derived >::StorageKind | StorageKind |
| typedef internal::traits < Derived >::DenseMatrixType | DenseMatrixType |
| typedef DenseMatrixType | DenseType |
Public Member Functions | |
| SelfAdjointView (const MatrixType &matrix) | |
| Index | rows () const |
| Index | cols () const |
| Index | outerStride () const |
| Index | innerStride () const |
| Scalar | coeff (Index row, Index col) const |
| Scalar & | coeffRef (Index row, Index col) |
| const MatrixTypeNestedCleaned & | _expression () const |
| const MatrixTypeNestedCleaned & | nestedExpression () const |
| MatrixTypeNestedCleaned & | nestedExpression () |
| template<typename OtherDerived > | |
| SelfadjointProductMatrix < MatrixType, Mode, false, OtherDerived, 0, OtherDerived::IsVectorAtCompileTime > | operator* (const MatrixBase< OtherDerived > &rhs) const |
| Efficient self-adjoint matrix times vector/matrix product. | |
| template<typename DerivedU , typename DerivedV > | |
| SelfAdjointView & | rankUpdate (const MatrixBase< DerivedU > &u, const MatrixBase< DerivedV > &v, Scalar alpha=Scalar(1)) |
Perform a symmetric rank 2 update of the selfadjoint matrix *this: . | |
| template<typename DerivedU > | |
| SelfAdjointView & | rankUpdate (const MatrixBase< DerivedU > &u, Scalar alpha=Scalar(1)) |
Perform a symmetric rank K update of the selfadjoint matrix *this: where u is a vector or matrix. | |
| const LLT< PlainObject, UpLo > | llt () const |
| | |
| const LDLT< PlainObject, UpLo > | ldlt () const |
| | |
| EigenvaluesReturnType | eigenvalues () const |
| Computes the eigenvalues of a matrix. | |
| RealScalar | operatorNorm () const |
| Computes the L2 operator norm. | |
| Scalar | coeff (Index row, Index col) const |
| Scalar & | coeffRef (Index row, Index col) |
| EIGEN_STRONG_INLINE void | copyCoeff (Index row, Index col, Other &other) |
| Scalar | operator() (Index row, Index col) const |
| Scalar & | operator() (Index row, Index col) |
| void | evalTo (MatrixBase< DenseDerived > &other) const |
| void | evalToLazy (MatrixBase< DenseDerived > &other) const |
| DenseMatrixType | toDenseMatrix () const |
Protected Member Functions | |
| void | check_coordinates (Index row, Index col) const |
| void | check_coordinates_internal (Index, Index) const |
Protected Attributes | |
| const MatrixTypeNested | m_matrix |
Friends | |
| template<typename OtherDerived > | |
| SelfadjointProductMatrix < OtherDerived, 0, OtherDerived::IsVectorAtCompileTime, MatrixType, Mode, false > | operator* (const MatrixBase< OtherDerived > &lhs, const SelfAdjointView &rhs) |
| Efficient vector/matrix times self-adjoint matrix product. | |
typedef internal::traits<Derived>::DenseMatrixType Eigen::TriangularBase::DenseMatrixType [inherited] |
typedef DenseMatrixType Eigen::TriangularBase::DenseType [inherited] |
| typedef Matrix<RealScalar, internal::traits<MatrixType>::ColsAtCompileTime, 1> Eigen::SelfAdjointView::EigenvaluesReturnType |
Return type of eigenvalues()
| typedef MatrixType::Index Eigen::SelfAdjointView::Index |
Reimplemented from Eigen::TriangularBase< SelfAdjointView< MatrixType, UpLo > >.
| typedef internal::traits<SelfAdjointView>::MatrixTypeNested Eigen::SelfAdjointView::MatrixTypeNested |
| typedef internal::traits<SelfAdjointView>::MatrixTypeNestedCleaned Eigen::SelfAdjointView::MatrixTypeNestedCleaned |
| typedef MatrixType::PlainObject Eigen::SelfAdjointView::PlainObject |
| typedef NumTraits<Scalar>::Real Eigen::SelfAdjointView::RealScalar |
| typedef internal::traits<SelfAdjointView>::Scalar Eigen::SelfAdjointView::Scalar |
The type of coefficients in this matrix.
Reimplemented from Eigen::TriangularBase< SelfAdjointView< MatrixType, UpLo > >.
typedef internal::traits<Derived>::StorageKind Eigen::TriangularBase::StorageKind [inherited] |
| Eigen::SelfAdjointView::SelfAdjointView | ( | const MatrixType & | matrix | ) | [inline] |
| const MatrixTypeNestedCleaned& Eigen::SelfAdjointView::_expression | ( | ) | const [inline] |
| Index Eigen::SelfAdjointView::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::TriangularBase< SelfAdjointView< MatrixType, UpLo > >.
| SelfAdjointView< MatrixType, UpLo >::EigenvaluesReturnType Eigen::SelfAdjointView::eigenvalues | ( | ) | const [inline] |
Computes the eigenvalues of a matrix.
This function computes the eigenvalues with the help of the SelfAdjointEigenSolver class. The eigenvalues are repeated according to their algebraic multiplicity, so there are as many eigenvalues as rows in the matrix.
Example:
Output:
Definition at line 103 of file Eigenvalues.
| void Eigen::TriangularBase::evalTo | ( | MatrixBase< DenseDerived > & | other | ) | const [inherited] |
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::evalToLazy | ( | MatrixBase< DenseDerived > & | other | ) | const [inherited] |
Assigns a triangular or selfadjoint matrix to a dense matrix.
If the matrix is triangular, the opposite part is set to zero.
| Index Eigen::SelfAdjointView::innerStride | ( | ) | const [inline] |
Reimplemented from Eigen::TriangularBase< SelfAdjointView< MatrixType, UpLo > >.
| const LDLT< typename SelfAdjointView< MatrixType, UpLo >::PlainObject, UpLo > Eigen::SelfAdjointView::ldlt | ( | ) | const [inline] |
| const LLT< typename SelfAdjointView< MatrixType, UpLo >::PlainObject, UpLo > Eigen::SelfAdjointView::llt | ( | ) | const [inline] |
| const MatrixTypeNestedCleaned& Eigen::SelfAdjointView::nestedExpression | ( | ) | const [inline] |
| MatrixTypeNestedCleaned& Eigen::SelfAdjointView::nestedExpression | ( | ) | [inline] |
| SelfadjointProductMatrix<MatrixType,Mode,false,OtherDerived,0,OtherDerived::IsVectorAtCompileTime> Eigen::SelfAdjointView::operator* | ( | const MatrixBase< OtherDerived > & | rhs | ) | const [inline] |
| SelfAdjointView< MatrixType, UpLo >::RealScalar Eigen::SelfAdjointView::operatorNorm | ( | ) | const [inline] |
Computes the L2 operator norm.
This function computes the L2 operator norm of a self-adjoint matrix. For a self-adjoint matrix, the operator norm is the largest eigenvalue.
The current implementation uses the eigenvalues of the matrix, as computed by eigenvalues(), to compute the operator norm of the matrix.
Example:
Output:
Definition at line 166 of file Eigenvalues.
| Index Eigen::SelfAdjointView::outerStride | ( | ) | const [inline] |
Reimplemented from Eigen::TriangularBase< SelfAdjointView< MatrixType, UpLo > >.
| SelfAdjointView< MatrixType, UpLo > & Eigen::SelfAdjointView::rankUpdate | ( | const MatrixBase< DerivedU > & | u, |
| const MatrixBase< DerivedV > & | v, | ||
| Scalar | alpha = Scalar(1) |
||
| ) |
Perform a symmetric rank 2 update of the selfadjoint matrix *this:
.
*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.
| SelfAdjointView< MatrixType, UpLo > & Eigen::SelfAdjointView::rankUpdate | ( | const MatrixBase< DerivedU > & | u, |
| Scalar | alpha = Scalar(1) |
||
| ) |
Perform a symmetric rank K update of the selfadjoint matrix *this:
where u is a vector or matrix.
*this Note that to perform
you can simply call this function with u.adjoint().
| Index Eigen::SelfAdjointView::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::TriangularBase< SelfAdjointView< MatrixType, UpLo > >.
| DenseMatrixType Eigen::TriangularBase::toDenseMatrix | ( | ) | const [inline, inherited] |
| SelfadjointProductMatrix<OtherDerived,0,OtherDerived::IsVectorAtCompileTime,MatrixType,Mode,false> operator* | ( | const MatrixBase< OtherDerived > & | lhs, |
| const SelfAdjointView & | rhs | ||
| ) | [friend] |
const MatrixTypeNested Eigen::SelfAdjointView::m_matrix [protected] |
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |