12#ifndef ROOT_TDecompChol 
   13#define ROOT_TDecompChol 
#define ClassDef(name, id)
 
TVectorD NormalEqn(const TMatrixD &A, const TVectorD &b)
Solve min {(A .
 
Decomposition Base class.
 
Cholesky Decomposition class.
 
virtual Int_t GetNrows() const
 
virtual Bool_t Solve(TVectorD &b)
Solve equations Ax=b assuming A has been factored by Cholesky.
 
virtual TVectorD Solve(const TVectorD &b, Bool_t &ok)
 
virtual void SetMatrix(const TMatrixDSym &a)
Set the matrix to be decomposed, decomposition status is reset.
 
const TMatrixD & GetU() const
 
virtual Int_t GetNcols() const
 
virtual TVectorD TransSolve(const TVectorD &b, Bool_t &ok)
 
TDecompChol & operator=(const TDecompChol &source)
Assignment operator.
 
virtual Bool_t TransSolve(TMatrixDColumn &b)
 
const TMatrixDSym GetMatrix()
Reconstruct the original matrix using the decomposition parts.
 
virtual Bool_t TransSolve(TVectorD &b)
 
virtual void Det(Double_t &d1, Double_t &d2)
Matrix determinant det = d1*TMath::Power(2.,d2) is square of diagProd of cholesky factor.
 
virtual const TMatrixDBase & GetDecompMatrix() const
 
void Print(Option_t *opt="") const
Print class members .
 
virtual Bool_t Decompose()
Matrix A is decomposed in component U so that A = U^T * U If the decomposition succeeds,...
 
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)