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