ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
TDecompBase.cxx File Reference
#include "TDecompBase.h"
#include "TMath.h"
#include "TError.h"
Include dependency graph for TDecompBase.cxx:

Go to the source code of this file.

Functions

 ClassImp (TDecompBase) TDecompBase
 Default constructor. More...
 
Bool_t DefHouseHolder (const TVectorD &vc, Int_t lp, Int_t l, Double_t &up, Double_t &beta, Double_t tol)
 Define a Householder-transformation through the parameters up and b . More...
 
void ApplyHouseHolder (const TVectorD &vc, Double_t up, Double_t beta, Int_t lp, Int_t l, TMatrixDRow &cr)
 Apply Householder-transformation. More...
 
void ApplyHouseHolder (const TVectorD &vc, Double_t up, Double_t beta, Int_t lp, Int_t l, TMatrixDColumn &cc)
 Apply Householder-transformation. More...
 
void ApplyHouseHolder (const TVectorD &vc, Double_t up, Double_t beta, 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  beta,
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  beta,
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  beta,
Int_t  lp,
Int_t  l,
TVectorD cv 
)

Apply Householder-transformation.

Definition at line 440 of file TDecompBase.cxx.

ClassImp ( TDecompBase  )

Default constructor.

Definition at line 118 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 beta,
Double_t  tol 
)

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().