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