12#ifndef ROOT_TDecompQRH
13#define ROOT_TDecompQRH
#define ClassDef(name, id)
Decomposition Base class.
virtual Int_t GetNrows() const
virtual const TMatrixDBase & GetDecompMatrix() const
virtual TVectorD Solve(const TVectorD &b, Bool_t &ok)
virtual Bool_t Solve(TVectorD &b)
Solve Ax=b assuming the QR form of A is stored in fR,fQ and fW, but assume b has not been transformed...
virtual Int_t GetNcols() const
virtual void SetMatrix(const TMatrixD &a)
Set matrix to be decomposed.
virtual const TVectorD & GetW()
virtual const TMatrixD & GetR()
virtual void Det(Double_t &d1, Double_t &d2)
This routine calculates the absolute (!) value of the determinant |det| = d1*TMath::Power(2....
TDecompQRH & operator=(const TDecompQRH &source)
Assignment operator.
void Print(Option_t *opt="") const
Print the class members.
virtual const TVectorD & GetUp()
static Bool_t QRH(TMatrixD &q, TVectorD &diagR, TVectorD &up, TVectorD &w, Double_t tol)
Decomposition function .
virtual TVectorD TransSolve(const TVectorD &b, Bool_t &ok)
virtual Bool_t TransSolve(TVectorD &b)
Solve A^T x=b assuming the QR form of A is stored in fR,fQ and fW, but assume b has not been transfor...
virtual Bool_t Decompose()
QR decomposition of matrix a by Householder transformations, see Golub & Loan first edition p41 & Sec...
virtual const TMatrixD & GetQ()
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)