Pseudo expression to manipulate a triangular sparse matrix as a selfadjoint matrix. More...
Public Types | |
enum | { Mode , TransposeMode , RowsAtCompileTime , ColsAtCompileTime } |
typedef EigenBase< SparseSelfAdjointView > | Base |
typedef internal::ref_selector< MatrixType >::non_const_type | MatrixTypeNested |
typedef internal::remove_all_t< MatrixTypeNested > | MatrixTypeNested_ |
typedef MatrixType::Scalar | Scalar |
typedef MatrixType::StorageIndex | StorageIndex |
typedef Matrix< StorageIndex, Dynamic, 1 > | VectorI |
![]() | |
typedef Eigen::Index | Index |
The interface type of indices. More... | |
typedef internal::traits< SparseSelfAdjointView< MatrixType, Mode_ > >::StorageKind | StorageKind |
Protected Attributes | |
MatrixTypeNested | m_matrix |
Private Member Functions | |
template<typename Dest > | |
void | evalTo (Dest &) const |
Pseudo expression to manipulate a triangular sparse matrix as a selfadjoint matrix.
MatrixType | the type of the dense matrix storing the coefficients |
Mode | 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.
Definition at line 45 of file SparseSelfAdjointView.h.
typedef EigenBase<SparseSelfAdjointView> Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::Base |
Definition at line 57 of file SparseSelfAdjointView.h.
typedef internal::ref_selector<MatrixType>::non_const_type Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::MatrixTypeNested |
Definition at line 61 of file SparseSelfAdjointView.h.
typedef internal::remove_all_t<MatrixTypeNested> Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::MatrixTypeNested_ |
Definition at line 62 of file SparseSelfAdjointView.h.
typedef MatrixType::Scalar Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::Scalar |
Definition at line 58 of file SparseSelfAdjointView.h.
typedef MatrixType::StorageIndex Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::StorageIndex |
Definition at line 59 of file SparseSelfAdjointView.h.
typedef Matrix<StorageIndex,Dynamic,1> Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::VectorI |
Definition at line 60 of file SparseSelfAdjointView.h.
anonymous enum |
Enumerator | |
---|---|
Mode | |
TransposeMode | |
RowsAtCompileTime | |
ColsAtCompileTime |
Definition at line 50 of file SparseSelfAdjointView.h.
|
inlineexplicit |
Definition at line 64 of file SparseSelfAdjointView.h.
|
inline |
Definition at line 70 of file SparseSelfAdjointView.h.
|
private |
|
inline |
Definition at line 74 of file SparseSelfAdjointView.h.
|
inline |
Definition at line 73 of file SparseSelfAdjointView.h.
|
inline |
Efficient sparse self-adjoint matrix times dense vector/matrix product
Definition at line 103 of file SparseSelfAdjointView.h.
|
inline |
*this
and a sparse matrix rhs.Note that there is no algorithmic advantage of performing such a product compared to a general sparse-sparse matrix product. Indeed, the SparseSelfadjointView operand is first copied into a temporary SparseMatrix before computing the product.
Definition at line 83 of file SparseSelfAdjointView.h.
|
inline |
Definition at line 141 of file SparseSelfAdjointView.h.
|
inline |
Definition at line 151 of file SparseSelfAdjointView.h.
|
inline |
Definition at line 135 of file SparseSelfAdjointView.h.
SparseSelfAdjointView<MatrixType,Mode>& Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::rankUpdate | ( | const SparseMatrixBase< DerivedU > & | u, |
const Scalar & | alpha | ||
) |
Implementation of SparseSelfAdjointView methods
Definition at line 199 of file SparseSelfAdjointView.h.
SparseSelfAdjointView& Eigen::SparseSelfAdjointView< MatrixType, Mode_ >::rankUpdate | ( | const SparseMatrixBase< DerivedU > & | u, |
const Scalar & | alpha = Scalar(1) |
||
) |
Perform a symmetric rank K update of the selfadjoint matrix *this
:
*this
To perform
|
inline |
Definition at line 157 of file SparseSelfAdjointView.h.
|
inline |
Definition at line 69 of file SparseSelfAdjointView.h.
|
inline |
|
protected |
Definition at line 167 of file SparseSelfAdjointView.h.