Shapeworks Studio
2.1
Shape analysis software suite
|
The base class for the direct Cholesky factorization of Cholmod. More...
#include <CholmodSupport.h>
Public Member Functions | |
CholmodBase (const MatrixType &matrix) | |
Index | cols () const |
Index | rows () const |
Derived & | derived () |
const Derived & | derived () const |
ComputationInfo | info () const |
Reports whether previous computation was successful. More... | |
Derived & | compute (const MatrixType &matrix) |
template<typename Rhs > | |
const internal::solve_retval< CholmodBase, Rhs > | solve (const MatrixBase< Rhs > &b) const |
template<typename Rhs > | |
const internal::sparse_solve_retval< CholmodBase, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
void | analyzePattern (const MatrixType &matrix) |
void | factorize (const MatrixType &matrix) |
cholmod_common & | cholmod () |
template<typename Rhs , typename Dest > | |
void | _solve (const MatrixBase< Rhs > &b, MatrixBase< Dest > &dest) const |
template<typename RhsScalar , int RhsOptions, typename RhsIndex , typename DestScalar , int DestOptions, typename DestIndex > | |
void | _solve (const SparseMatrix< RhsScalar, RhsOptions, RhsIndex > &b, SparseMatrix< DestScalar, DestOptions, DestIndex > &dest) const |
Derived & | setShift (const RealScalar &offset) |
template<typename Stream > | |
void | dumpMemory (Stream &) |
Protected Attributes | |
cholmod_common | m_cholmod |
cholmod_factor * | m_cholmodFactor |
RealScalar | m_shiftOffset [2] |
ComputationInfo | m_info |
bool | m_isInitialized |
int | m_factorizationIsOk |
int | m_analysisIsOk |
The base class for the direct Cholesky factorization of Cholmod.
Definition at line 158 of file CholmodSupport.h.
|
inline |
Performs a symbolic decomposition on the sparcity of matrix.
This function is particularly useful when solving for several problems having the same structure.
Definition at line 250 of file CholmodSupport.h.
|
inline |
Returns a reference to the Cholmod's configuration structure to get a full control over the performed operations. See the Cholmod user guide for details.
Definition at line 285 of file CholmodSupport.h.
|
inline |
Computes the sparse Cholesky decomposition of matrix
Definition at line 209 of file CholmodSupport.h.
|
inline |
Performs a numeric decomposition of matrix
The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
Definition at line 272 of file CholmodSupport.h.
|
inline |
Reports whether previous computation was successful.
Success
if computation was succesful, NumericalIssue
if the matrix.appears to be negative. Definition at line 202 of file CholmodSupport.h.
|
inline |
Sets the shift parameter that will be used to adjust the diagonal coefficients during the numerical factorization.
During the numerical factorization, an offset term is added to the diagonal coefficients:
d_ii
= offset + d_ii
The default is offset=0.
*this
. Definition at line 342 of file CholmodSupport.h.
|
inline |
Definition at line 222 of file CholmodSupport.h.
|
inline |
Definition at line 236 of file CholmodSupport.h.