#include <SparseCholesky.h>
Public Member Functions | |
Index | cols () const |
int | info () const |
void | lower_triangular_solve (const Scalar *x_in, Scalar *y_out) const |
Index | rows () const |
SparseCholesky (ConstGenericSparseMatrix &mat) | |
void | upper_triangular_solve (const Scalar *x_in, Scalar *y_out) const |
Private Types | |
typedef Eigen::Index | Index |
typedef Eigen::Map< const Vector > | MapConstVec |
typedef Eigen::Map< Vector > | MapVec |
typedef Eigen::SparseMatrix< Scalar, Flags, StorageIndex > | SparseMatrix |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > | Vector |
Private Attributes | |
const typedef Eigen::Ref< const SparseMatrix > | ConstGenericSparseMatrix |
Eigen::SimplicialLLT< SparseMatrix, Uplo > | m_decomp |
int | m_info |
const Index | m_n |
This class defines the operations related to Cholesky decomposition on a sparse positive definite matrix, , where is a lower triangular matrix. It is mainly used in the SymGEigsSolver generalized eigen solver in the Cholesky decomposition mode.
Definition at line 27 of file SparseCholesky.h.
|
private |
Definition at line 30 of file SparseCholesky.h.
|
private |
Definition at line 32 of file SparseCholesky.h.
|
private |
Definition at line 33 of file SparseCholesky.h.
|
private |
Definition at line 34 of file SparseCholesky.h.
|
private |
Definition at line 31 of file SparseCholesky.h.
|
inline |
Constructor to create the matrix operation object.
mat | An Eigen sparse matrix object, whose type can be Eigen::SparseMatrix<Scalar, ...> or its mapped version Eigen::Map<Eigen::SparseMatrix<Scalar, ...> > . |
Definition at line 49 of file SparseCholesky.h.
|
inline |
Returns the number of columns of the underlying matrix.
Definition at line 68 of file SparseCholesky.h.
|
inline |
Returns the status of the computation. The full list of enumeration values can be found in Enumerations.
Definition at line 74 of file SparseCholesky.h.
|
inline |
Performs the lower triangular solving operation .
x_in | Pointer to the vector. |
y_out | Pointer to the vector. |
Definition at line 83 of file SparseCholesky.h.
|
inline |
Returns the number of rows of the underlying matrix.
Definition at line 64 of file SparseCholesky.h.
|
inline |
Performs the upper triangular solving operation .
x_in | Pointer to the vector. |
y_out | Pointer to the vector. |
Definition at line 98 of file SparseCholesky.h.
|
private |
Definition at line 35 of file SparseCholesky.h.
|
private |
Definition at line 38 of file SparseCholesky.h.
|
private |
Definition at line 39 of file SparseCholesky.h.
|
private |
Definition at line 37 of file SparseCholesky.h.