Pseudo expression to manipulate a triangular sparse matrix as a selfadjoint matrix.
| MatrixType | the type of the dense matrix storing the coefficients |
| UpLo | 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 | |
| typedef MatrixType::Scalar | Scalar |
| typedef MatrixType::Index | Index |
| typedef Matrix< Index, Dynamic, 1 > | VectorI |
| typedef MatrixType::Nested | MatrixTypeNested |
| typedef internal::remove_all < MatrixTypeNested >::type | _MatrixTypeNested |
| typedef internal::traits < SparseSelfAdjointView < MatrixType, UpLo > >::StorageKind | StorageKind |
Public Member Functions | |
| SparseSelfAdjointView (const MatrixType &matrix) | |
| Index | rows () const |
| Index | cols () const |
| const _MatrixTypeNested & | matrix () const |
| _MatrixTypeNested & | matrix () |
| template<typename OtherDerived > | |
| SparseSelfAdjointTimeDenseProduct < MatrixType, OtherDerived, UpLo > | operator* (const MatrixBase< OtherDerived > &rhs) const |
| Efficient sparse self-adjoint matrix times dense vector/matrix product. | |
| template<typename DerivedU > | |
| SparseSelfAdjointView & | rankUpdate (const SparseMatrixBase< DerivedU > &u, Scalar alpha=Scalar(1)) |
Perform a symmetric rank K update of the selfadjoint matrix *this: where u is a vector or matrix. | |
| template<typename DestScalar > | |
| void | evalTo (SparseMatrix< DestScalar > &_dest) const |
| template<typename DestScalar > | |
| void | evalTo (DynamicSparseMatrix< DestScalar > &_dest) const |
| SparseSymmetricPermutationProduct < _MatrixTypeNested, UpLo > | twistedBy (const PermutationMatrix< Dynamic > &perm) const |
| template<typename SrcMatrixType , int SrcUpLo> | |
| SparseSelfAdjointView & | operator= (const SparseSymmetricPermutationProduct< SrcMatrixType, SrcUpLo > &permutedMatrix) |
| SparseSelfAdjointView < MatrixType, UpLo > & | derived () |
| const SparseSelfAdjointView < MatrixType, UpLo > & | derived () const |
| SparseSelfAdjointView < MatrixType, UpLo > & | const_cast_derived () const |
| const SparseSelfAdjointView < MatrixType, UpLo > & | const_derived () const |
| Index | size () const |
| void | evalTo (Dest &dst) const |
| void | addTo (Dest &dst) const |
| void | subTo (Dest &dst) const |
| void | applyThisOnTheRight (Dest &dst) const |
| void | applyThisOnTheLeft (Dest &dst) const |
Protected Attributes | |
| const MatrixType::Nested | m_matrix |
| VectorI | m_countPerRow |
| VectorI | m_countPerCol |
Friends | |
| template<typename OtherDerived > | |
| DenseTimeSparseSelfAdjointProduct < OtherDerived, MatrixType, UpLo > | operator* (const MatrixBase< OtherDerived > &lhs, const SparseSelfAdjointView &rhs) |
| Efficient dense vector/matrix times sparse self-adjoint matrix product. | |
| typedef internal::remove_all<MatrixTypeNested>::type Eigen::SparseSelfAdjointView< MatrixType, UpLo >::_MatrixTypeNested |
| typedef MatrixType::Index Eigen::SparseSelfAdjointView< MatrixType, UpLo >::Index |
Reimplemented from Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >.
| typedef MatrixType::Nested Eigen::SparseSelfAdjointView< MatrixType, UpLo >::MatrixTypeNested |
| typedef MatrixType::Scalar Eigen::SparseSelfAdjointView< MatrixType, UpLo >::Scalar |
typedef internal::traits<SparseSelfAdjointView< MatrixType, UpLo > >::StorageKind Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::StorageKind [inherited] |
| typedef Matrix<Index,Dynamic,1> Eigen::SparseSelfAdjointView< MatrixType, UpLo >::VectorI |
| Eigen::SparseSelfAdjointView< MatrixType, UpLo >::SparseSelfAdjointView | ( | const MatrixType & | matrix | ) | [inline] |
| void Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::addTo | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::applyThisOnTheLeft | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::applyThisOnTheRight | ( | Dest & | dst | ) | const [inline, inherited] |
| Index Eigen::SparseSelfAdjointView< MatrixType, UpLo >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >.
| SparseSelfAdjointView< MatrixType, UpLo > & Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::const_cast_derived | ( | ) | const [inline, inherited] |
| const SparseSelfAdjointView< MatrixType, UpLo > & Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::const_derived | ( | ) | const [inline, inherited] |
| SparseSelfAdjointView< MatrixType, UpLo > & Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::derived | ( | ) | [inline, inherited] |
| const SparseSelfAdjointView< MatrixType, UpLo > & Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::derived | ( | ) | const [inline, inherited] |
| void Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::evalTo | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::SparseSelfAdjointView< MatrixType, UpLo >::evalTo | ( | DynamicSparseMatrix< DestScalar > & | _dest | ) | const [inline] |
| void Eigen::SparseSelfAdjointView< MatrixType, UpLo >::evalTo | ( | SparseMatrix< DestScalar > & | _dest | ) | const [inline] |
| _MatrixTypeNested& Eigen::SparseSelfAdjointView< MatrixType, UpLo >::matrix | ( | ) | [inline] |
| const _MatrixTypeNested& Eigen::SparseSelfAdjointView< MatrixType, UpLo >::matrix | ( | ) | const [inline] |
| SparseSelfAdjointTimeDenseProduct<MatrixType,OtherDerived,UpLo> Eigen::SparseSelfAdjointView< MatrixType, UpLo >::operator* | ( | const MatrixBase< OtherDerived > & | rhs | ) | const [inline] |
| SparseSelfAdjointView& Eigen::SparseSelfAdjointView< MatrixType, UpLo >::operator= | ( | const SparseSymmetricPermutationProduct< SrcMatrixType, SrcUpLo > & | permutedMatrix | ) | [inline] |
| SparseSelfAdjointView< MatrixType, UpLo > & Eigen::SparseSelfAdjointView< MatrixType, UpLo >::rankUpdate | ( | const SparseMatrixBase< 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 it is faster to set alpha=0 than initializing the matrix to zero and then keep the default value alpha=1.
To perform
you can simply call this function with u.adjoint().
| Index Eigen::SparseSelfAdjointView< MatrixType, UpLo >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >.
| Index Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::size | ( | ) | const [inline, inherited] |
| void Eigen::EigenBase< SparseSelfAdjointView< MatrixType, UpLo > >::subTo | ( | Dest & | dst | ) | const [inline, inherited] |
| SparseSymmetricPermutationProduct<_MatrixTypeNested,UpLo> Eigen::SparseSelfAdjointView< MatrixType, UpLo >::twistedBy | ( | const PermutationMatrix< Dynamic > & | perm | ) | const [inline] |
| DenseTimeSparseSelfAdjointProduct<OtherDerived,MatrixType,UpLo> operator* | ( | const MatrixBase< OtherDerived > & | lhs, |
| const SparseSelfAdjointView< MatrixType, UpLo > & | rhs | ||
| ) | [friend] |
VectorI Eigen::SparseSelfAdjointView< MatrixType, UpLo >::m_countPerCol [mutable, protected] |
VectorI Eigen::SparseSelfAdjointView< MatrixType, UpLo >::m_countPerRow [mutable, protected] |
const MatrixType::Nested Eigen::SparseSelfAdjointView< MatrixType, UpLo >::m_matrix [protected] |
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |