HLIBpro  1.2
Public Member Functions | Public Attributes | List of all members
TLL Class Reference

computes Cholesky factorisation $ A = LL^T $ or $ A=LL^H $ More...

#include <mat_fac.hh>

Public Member Functions

void factorise (const uint nthreads, TMatrix *A, const TTruncAcc &acc) const
void factorise (TMatrix *A, const TTruncAcc &acc) const
 sequential version of
TMatrixeval_matrix (TMatrix *L, const matform_t matform) const
TMatrixinv_matrix (TMatrix *L, const matform_t matform) const
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

Detailed Description

This class computes the Cholesky factorisation $A = LL^T$ ( $A = LL^H$) of a symmetric (hermitian) matrix $A$ with lower triangular matrix $L$.

Support for multiple threads is available, although the expectable speedup is limited, e.g. best suited for at most 4 threads.

Member Function Documentation

TMatrix* eval_matrix ( TMatrix L,
const matform_t  matform 
) const

return suitable matrix representation for evaluating Cholesky factor L

Parameters
LCholesky factor to be represented
matformformat of original, non-factorised matrix
void factorise ( const uint  nthreads,
TMatrix A,
const TTruncAcc acc 
) const

compute Cholesky factorisation of given matrix

Parameters
nthreadsnumber of threads to use
Aon input matrix to factorise; on output factor L
accaccuracy of factorisation
void factorise ( TMatrix A,
const TTruncAcc acc 
) const
See Also
factorise
TMatrix* inv_matrix ( TMatrix L,
const matform_t  matform 
) const

return suitable inverse representation of Cholesky factor L

Parameters
LCholesky factor to be represented
matformformat of original, non-factorised matrix