ROOT  6.06/09
Reference Guide
Classes | Functions
TDecompBase.h File Reference
#include <limits>
#include "TMatrixD.h"
#include "TMatrixDUtils.h"
#include "TVectorD.h"
+ Include dependency graph for TDecompBase.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TDecompBase
 

Functions

Bool_t DefHouseHolder (const TVectorD &vc, Int_t lp, Int_t l, Double_t &up, Double_t &b, Double_t tol=0.0)
 Define a Householder-transformation through the parameters up and b . More...
 
void ApplyHouseHolder (const TVectorD &vc, Double_t up, Double_t b, Int_t lp, Int_t l, TMatrixDRow &cr)
 Apply Householder-transformation. More...
 
void ApplyHouseHolder (const TVectorD &vc, Double_t up, Double_t b, Int_t lp, Int_t l, TMatrixDColumn &cc)
 Apply Householder-transformation. More...
 
void ApplyHouseHolder (const TVectorD &vc, Double_t up, Double_t b, Int_t lp, Int_t l, TVectorD &cv)
 Apply Householder-transformation. More...
 
void DefGivens (Double_t v1, Double_t v2, Double_t &c, Double_t &s)
 Defines a Givens-rotation by calculating 2 rotation parameters c and s. More...
 
void DefAplGivens (Double_t &v1, Double_t &v2, Double_t &c, Double_t &s)
 Define and apply a Givens-rotation by calculating 2 rotation parameters c and s. More...
 
void ApplyGivens (Double_t &z1, Double_t &z2, Double_t c, Double_t s)
 Apply a Givens transformation as defined by c and s to the vector compenents v1 and v2 . More...
 

Function Documentation

void ApplyGivens ( Double_t z1,
Double_t z2,
Double_t  c,
Double_t  s 
)

Apply a Givens transformation as defined by c and s to the vector compenents v1 and v2 .

Definition at line 530 of file TDecompBase.cxx.

Referenced by TDecompSVD::Diag_1(), TDecompSVD::Diag_2(), and TDecompSVD::Diag_3().

void ApplyHouseHolder ( const TVectorD vc,
Double_t  up,
Double_t  b,
Int_t  lp,
Int_t  l,
TMatrixDRow cr 
)

Apply Householder-transformation.

Definition at line 382 of file TDecompBase.cxx.

Referenced by TDecompSVD::Bidiagonalize(), TDecompQRH::QRH(), TDecompQRH::Solve(), and TDecompQRH::TransSolve().

void ApplyHouseHolder ( const TVectorD vc,
Double_t  up,
Double_t  b,
Int_t  lp,
Int_t  l,
TMatrixDColumn cc 
)

Apply Householder-transformation.

Definition at line 411 of file TDecompBase.cxx.

void ApplyHouseHolder ( const TVectorD vc,
Double_t  up,
Double_t  b,
Int_t  lp,
Int_t  l,
TVectorD cv 
)

Apply Householder-transformation.

Definition at line 440 of file TDecompBase.cxx.

void DefAplGivens ( Double_t v1,
Double_t v2,
Double_t c,
Double_t s 
)

Define and apply a Givens-rotation by calculating 2 rotation parameters c and s.

The rotation is defined with and applied to the vector components v1 and v2.

Definition at line 498 of file TDecompBase.cxx.

Referenced by TDecompSVD::Diag_1(), TDecompSVD::Diag_2(), and TDecompSVD::Diag_3().

void DefGivens ( Double_t  v1,
Double_t  v2,
Double_t c,
Double_t s 
)

Defines a Givens-rotation by calculating 2 rotation parameters c and s.

The rotation is defined with the vector components v1 and v2.

Definition at line 469 of file TDecompBase.cxx.

Referenced by TDecompSVD::Diag_3().

Bool_t DefHouseHolder ( const TVectorD vc,
Int_t  lp,
Int_t  l,
Double_t up,
Double_t b,
Double_t  tol = 0.0 
)

Define a Householder-transformation through the parameters up and b .

Definition at line 347 of file TDecompBase.cxx.

Referenced by TDecompSVD::Bidiagonalize(), and TDecompQRH::QRH().