12 #ifndef ROOT_TDecompQRH 13 #define ROOT_TDecompQRH
virtual const TMatrixDBase & GetDecompMatrix() const
void Print(Option_t *opt="") const
Print the class members.
Decomposition Base class.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual const TMatrixD & GetQ()
virtual Int_t GetNrows() const
#define ClassDef(name, id)
TDecompQRH & operator=(const TDecompQRH &source)
Assignment operator.
static Bool_t QRH(TMatrixD &q, TVectorD &diagR, TVectorD &up, TVectorD &w, Double_t tol)
Decomposition function .
virtual const TVectorD & GetUp()
virtual const TVectorD & GetW()
virtual Bool_t Decompose()
QR decomposition of matrix a by Householder transformations, see Golub & Loan first edition p41 & Sec...
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...
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
virtual void Det(Double_t &d1, Double_t &d2)
This routine calculates the absolute (!) value of the determinant |det| = d1*TMath::Power(2.,d2)
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 const TMatrixD & GetR()
virtual Int_t GetNcols() const
virtual TVectorD Solve(const TVectorD &b, Bool_t &ok)
virtual void SetMatrix(const TMatrixD &a)
Set matrix to be decomposed.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b