HLIBpro
2.3.1
|
computes Cholesky factorisation or More...
#include <mat_fac.hh>
Public Member Functions | |
void | factorise (TMatrix *A, const TTruncAcc &acc) const |
auto | eval_matrix (TMatrix *L, const matform_t matform) const -> std::unique_ptr< TLinearOperator > |
auto | inv_matrix (TMatrix *L, const matform_t matform) const -> std::unique_ptr< TLinearOperator > |
size_t | pm_steps (const TMatrix *A) const |
return number of factorisation steps for A for progress meter | |
Public Attributes | |
__pad0__: _options( opts ) {} ~TLL () {} void set_options ( const fac_options_t opts ) { _options = opts | |
standard constructor with optional Cholesky settings | |
This class computes the Cholesky factorisation ( ) of a symmetric (hermitian) matrix with lower triangular matrix .
Support for multiple threads is available, although the expectable speedup is limited, e.g. best suited for at most 4 threads.
auto eval_matrix | ( | TMatrix * | L, |
const matform_t | matform | ||
) | const -> std::unique_ptr< TLinearOperator > |
return suitable representation for evaluating Cholesky factor L
L | Cholesky factor to be represented |
matform | format of original, non-factorised matrix |
compute Cholesky factorisation of given matrix
A | on input matrix to factorise; on output factor L |
acc | accuracy of factorisation |
auto inv_matrix | ( | TMatrix * | L, |
const matform_t | matform | ||
) | const -> std::unique_ptr< TLinearOperator > |
return suitable inverse representation of Cholesky factor L
L | Cholesky factor to be represented |
matform | format of original, non-factorised matrix |