TDecompBase Class Reference

#include <TDecompBase.h>

Inheritance diagram for TDecompBase:

TObject TObject TDecompBK TDecompBK TDecompChol TDecompChol TDecompLU TDecompLU TDecompQRH TDecompQRH TDecompSparse TDecompSparse TDecompSVD TDecompSVD List of all members.

Public Member Functions

 TDecompBase ()
 TDecompBase (const TDecompBase &another)
virtual ~TDecompBase ()
Double_t GetTol () const
Double_t GetDet1 () const
Double_t GetDet2 () const
Double_t GetCondition () const
virtual Int_t GetNrows () const=0
virtual Int_t GetNcols () const=0
Int_t GetRowLwb () const
Int_t GetColLwb () const
Double_t SetTol (Double_t tol)
virtual Double_t Condition ()
virtual void Det (Double_t &d1, Double_t &d2)
virtual Bool_t Decompose ()=0
virtual Bool_t Solve (TVectorD &b)=0
virtual TVectorD Solve (const TVectorD &b, Bool_t &ok)=0
virtual Bool_t Solve (TMatrixDColumn &b)=0
virtual Bool_t TransSolve (TVectorD &b)=0
virtual TVectorD TransSolve (const TVectorD &b, Bool_t &ok)=0
virtual Bool_t TransSolve (TMatrixDColumn &b)=0
virtual Bool_t MultiSolve (TMatrixD &B)
void Print (Option_t *opt="") const
TDecompBaseoperator= (const TDecompBase &source)
 TDecompBase ()
 TDecompBase (const TDecompBase &another)
virtual ~TDecompBase ()
Double_t GetTol () const
Double_t GetDet1 () const
Double_t GetDet2 () const
Double_t GetCondition () const
virtual Int_t GetNrows () const=0
virtual Int_t GetNcols () const=0
Int_t GetRowLwb () const
Int_t GetColLwb () const
Double_t SetTol (Double_t tol)
virtual Double_t Condition ()
virtual void Det (Double_t &d1, Double_t &d2)
virtual Bool_t Decompose ()=0
virtual Bool_t Solve (TVectorD &b)=0
virtual TVectorD Solve (const TVectorD &b, Bool_t &ok)=0
virtual Bool_t Solve (TMatrixDColumn &b)=0
virtual Bool_t TransSolve (TVectorD &b)=0
virtual TVectorD TransSolve (const TVectorD &b, Bool_t &ok)=0
virtual Bool_t TransSolve (TMatrixDColumn &b)=0
virtual Bool_t MultiSolve (TMatrixD &B)
void Print (Option_t *opt="") const
TDecompBaseoperator= (const TDecompBase &source)

Protected Types

enum  EMatrixDecompStat
enum  
enum  EMatrixDecompStat
enum  

Protected Member Functions

void ResetStatus ()
Int_t Hager (Double_t &est, Int_t iter=5)
virtual const TMatrixDBaseGetDecompMatrix () const=0
void ResetStatus ()
Int_t Hager (Double_t &est, Int_t iter=5)
virtual const TMatrixDBaseGetDecompMatrix () const=0

Static Protected Member Functions

static void DiagProd (const TVectorD &diag, Double_t tol, Double_t &d1, Double_t &d2)
static void DiagProd (const TVectorD &diag, Double_t tol, Double_t &d1, Double_t &d2)

Protected Attributes

Double_t fTol
Double_t fDet1
Double_t fDet2
Double_t fCondition
Int_t fRowLwb
Int_t fColLwb

Detailed Description

Definition at line 36 of file TDecompBase.h.


Member Enumeration Documentation

enum TDecompBase::EMatrixDecompStat [protected]

Definition at line 52 of file TDecompBase.h.

anonymous enum [protected]

Definition at line 63 of file TDecompBase.h.

enum TDecompBase::EMatrixDecompStat [protected]

Definition at line 52 of file TDecompBase.h.

anonymous enum [protected]

Definition at line 63 of file TDecompBase.h.


Constructor & Destructor Documentation

TDecompBase::TDecompBase (  ) 

TDecompBase::TDecompBase ( const TDecompBase another  ) 

Definition at line 134 of file TDecompBase.cxx.

virtual TDecompBase::~TDecompBase (  )  [inline, virtual]

Definition at line 68 of file TDecompBase.h.

TDecompBase::TDecompBase (  ) 

TDecompBase::TDecompBase ( const TDecompBase another  ) 

virtual TDecompBase::~TDecompBase (  )  [inline, virtual]

Definition at line 68 of file TDecompBase.h.


Member Function Documentation

void TDecompBase::ResetStatus (  )  [inline, protected]

Definition at line 46 of file TDecompBase.h.

References BIT, i, and TObject::ResetBit().

Referenced by TDecompChol::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompBK::SetMatrix(), TDecompSVD::SetMatrix(), and TDecompSparse::SetMatrix().

Int_t TDecompBase::Hager ( Double_t est,
Int_t  iter = 5 
) [protected]

Definition at line 142 of file TDecompBase.cxx.

References TMath::Abs(), b, GetDecompMatrix(), i, kFALSE, kTRUE, m, n, Solve(), TransSolve(), and y.

Referenced by Condition().

void TDecompBase::DiagProd ( const TVectorD diag,
Double_t  tol,
Double_t d1,
Double_t d2 
) [static, protected]

Definition at line 201 of file TDecompBase.cxx.

References TMath::Abs(), diag, i, and n.

Referenced by TDecompSVD::Det(), Det(), and TDecompLU::InvertLU().

virtual const TMatrixDBase& TDecompBase::GetDecompMatrix (  )  const [protected, pure virtual]

Referenced by Det(), Hager(), and MultiSolve().

Double_t TDecompBase::GetTol (  )  const [inline]

Definition at line 70 of file TDecompBase.h.

References fTol.

Referenced by G__G__Matrix_110_0_12(), G__G__Matrix_111_0_12(), and G__G__Matrix_174_0_7().

Double_t TDecompBase::GetDet1 (  )  const [inline]

Definition at line 71 of file TDecompBase.h.

References fDet1.

Referenced by G__G__Matrix_174_0_8().

Double_t TDecompBase::GetDet2 (  )  const [inline]

Definition at line 72 of file TDecompBase.h.

References fDet2.

Referenced by G__G__Matrix_174_0_9().

Double_t TDecompBase::GetCondition (  )  const [inline]

Definition at line 73 of file TDecompBase.h.

References fCondition.

Referenced by G__G__Matrix_174_0_10().

virtual Int_t TDecompBase::GetNrows (  )  const [pure virtual]

virtual Int_t TDecompBase::GetNcols (  )  const [pure virtual]

Int_t TDecompBase::GetRowLwb (  )  const [inline]

Definition at line 76 of file TDecompBase.h.

References fRowLwb.

Referenced by TDecompQRH::Decompose(), TDecompSVD::Decompose(), G__G__Matrix_110_0_5(), G__G__Matrix_111_0_5(), G__G__Matrix_128_0_7(), G__G__Matrix_147_0_7(), G__G__Matrix_161_0_7(), G__G__Matrix_168_0_7(), G__G__Matrix_174_0_13(), TDecompLU::Invert(), TDecompChol::Invert(), TDecompSVD::Invert(), TDecompBK::Invert(), TDecompQRH::Invert(), TDecompSVD::Solve(), and TDecompSVD::TransSolve().

Int_t TDecompBase::GetColLwb (  )  const [inline]

Definition at line 77 of file TDecompBase.h.

References fColLwb.

Referenced by TDecompSVD::Condition(), TDecompQRH::Decompose(), TDecompSVD::Decompose(), G__G__Matrix_110_0_8(), G__G__Matrix_111_0_8(), G__G__Matrix_128_0_9(), G__G__Matrix_168_0_9(), G__G__Matrix_174_0_14(), TDecompSVD::GetMatrix(), TDecompLU::Invert(), TDecompSVD::Invert(), and TDecompQRH::Invert().

Double_t TDecompBase::SetTol ( Double_t  tol  )  [inline]

Definition at line 99 of file TDecompBase.h.

References fTol.

Referenced by G__G__Matrix_110_0_22(), G__G__Matrix_111_0_22(), and G__G__Matrix_174_0_15().

Double_t TDecompBase::Condition (  )  [virtual]

Definition at line 242 of file TDecompBase.cxx.

References Decompose(), TObject::Error(), fCondition, Hager(), kCondition, kDecomposed, kSingular, TObject::SetBit(), and TObject::TestBit().

Referenced by G__G__Matrix_174_0_16().

void TDecompBase::Det ( Double_t d1,
Double_t d2 
) [virtual]

Definition at line 284 of file TDecompBase.cxx.

References Decompose(), DiagProd(), fDet1, fDet2, fTol, GetDecompMatrix(), i, kDecomposed, kDetermined, kSingular, m, R__ASSERT, TObject::SetBit(), and TObject::TestBit().

Referenced by TDecompLU::Det(), TDecompChol::Det(), and TDecompQRH::Det().

virtual Bool_t TDecompBase::Decompose (  )  [pure virtual]

Referenced by Condition(), and Det().

virtual Bool_t TDecompBase::Solve ( TVectorD b  )  [pure virtual]

Referenced by Hager(), and MultiSolve().

virtual TVectorD TDecompBase::Solve ( const TVectorD b,
Bool_t ok 
) [pure virtual]

virtual Bool_t TDecompBase::Solve ( TMatrixDColumn b  )  [pure virtual]

virtual Bool_t TDecompBase::TransSolve ( TVectorD b  )  [pure virtual]

Referenced by Hager().

virtual TVectorD TDecompBase::TransSolve ( const TVectorD b,
Bool_t ok 
) [pure virtual]

virtual Bool_t TDecompBase::TransSolve ( TMatrixDColumn b  )  [pure virtual]

Bool_t TDecompBase::MultiSolve ( TMatrixD B  )  [virtual]

Definition at line 265 of file TDecompBase.cxx.

References B, b, GetDecompMatrix(), kTRUE, m, R__ASSERT, and Solve().

Referenced by astress_pseudo(), G__G__Matrix_174_0_25(), TDecompLU::Invert(), TDecompSVD::Invert(), TDecompQRH::Invert(), and NormalEqn().

void TDecompBase::Print ( Option_t opt = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 309 of file TDecompBase.cxx.

References fColLwb, fCondition, fDet1, fDet2, fRowLwb, and fTol.

Referenced by TDecompChol::Print(), TDecompBK::Print(), TDecompSVD::Print(), TDecompQRH::Print(), TDecompSparse::Print(), and TDecompLU::Print().

TDecompBase & TDecompBase::operator= ( const TDecompBase source  ) 

Definition at line 322 of file TDecompBase.cxx.

References fColLwb, fCondition, fDet1, fDet2, fRowLwb, fTol, and TObject::operator=().

Referenced by TDecompLU::operator=(), TDecompQRH::operator=(), TDecompSparse::operator=(), TDecompSVD::operator=(), TDecompChol::operator=(), and TDecompBK::operator=().

void TDecompBase::ResetStatus (  )  [inline, protected]

Definition at line 46 of file TDecompBase.h.

References BIT, i, and TObject::ResetBit().

Int_t TDecompBase::Hager ( Double_t est,
Int_t  iter = 5 
) [protected]

static void TDecompBase::DiagProd ( const TVectorD diag,
Double_t  tol,
Double_t d1,
Double_t d2 
) [static, protected]

virtual const TMatrixDBase& TDecompBase::GetDecompMatrix (  )  const [protected, pure virtual]

Double_t TDecompBase::GetTol (  )  const [inline]

Definition at line 70 of file TDecompBase.h.

References fTol.

Double_t TDecompBase::GetDet1 (  )  const [inline]

Definition at line 71 of file TDecompBase.h.

References fDet1.

Double_t TDecompBase::GetDet2 (  )  const [inline]

Definition at line 72 of file TDecompBase.h.

References fDet2.

Double_t TDecompBase::GetCondition (  )  const [inline]

Definition at line 73 of file TDecompBase.h.

References fCondition.

virtual Int_t TDecompBase::GetNrows (  )  const [pure virtual]

virtual Int_t TDecompBase::GetNcols (  )  const [pure virtual]

Int_t TDecompBase::GetRowLwb (  )  const [inline]

Definition at line 76 of file TDecompBase.h.

References fRowLwb.

Int_t TDecompBase::GetColLwb (  )  const [inline]

Definition at line 77 of file TDecompBase.h.

References fColLwb.

Double_t TDecompBase::SetTol ( Double_t  tol  )  [inline]

virtual Double_t TDecompBase::Condition (  )  [virtual]

virtual void TDecompBase::Det ( Double_t d1,
Double_t d2 
) [virtual]

virtual Bool_t TDecompBase::Decompose (  )  [pure virtual]

virtual Bool_t TDecompBase::Solve ( TVectorD b  )  [pure virtual]

virtual TVectorD TDecompBase::Solve ( const TVectorD b,
Bool_t ok 
) [pure virtual]

virtual Bool_t TDecompBase::Solve ( TMatrixDColumn b  )  [pure virtual]

virtual Bool_t TDecompBase::TransSolve ( TVectorD b  )  [pure virtual]

virtual TVectorD TDecompBase::TransSolve ( const TVectorD b,
Bool_t ok 
) [pure virtual]

virtual Bool_t TDecompBase::TransSolve ( TMatrixDColumn b  )  [pure virtual]

virtual Bool_t TDecompBase::MultiSolve ( TMatrixD B  )  [virtual]

void TDecompBase::Print ( Option_t opt = ""  )  const [virtual]

Reimplemented from TObject.

TDecompBase& TDecompBase::operator= ( const TDecompBase source  ) 


Member Data Documentation

Double_t TDecompBase::fTol [protected]

Definition at line 39 of file TDecompBase.h.

Referenced by TDecompBK::Decompose(), TDecompQRH::Decompose(), TDecompLU::Decompose(), TDecompSVD::Det(), Det(), GetTol(), operator=(), Print(), SetTol(), TDecompQRH::Solve(), TDecompLU::Solve(), TDecompChol::Solve(), TDecompSVD::Solve(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSVD::TDecompSVD(), TDecompSVD::TransSolve(), TDecompQRH::TransSolve(), and TDecompLU::TransSolve().

Double_t TDecompBase::fDet1 [protected]

Definition at line 40 of file TDecompBase.h.

Referenced by TDecompSVD::Det(), Det(), TDecompLU::Det(), TDecompChol::Det(), TDecompQRH::Det(), GetDet1(), operator=(), and Print().

Double_t TDecompBase::fDet2 [protected]

Definition at line 41 of file TDecompBase.h.

Referenced by TDecompSVD::Det(), Det(), TDecompLU::Det(), TDecompChol::Det(), TDecompQRH::Det(), GetDet2(), operator=(), and Print().

Double_t TDecompBase::fCondition [protected]

Definition at line 42 of file TDecompBase.h.

Referenced by TDecompSVD::Condition(), Condition(), GetCondition(), operator=(), Print(), TDecompChol::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompBK::SetMatrix(), TDecompSVD::SetMatrix(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), and TDecompQRH::TDecompQRH().

Int_t TDecompBase::fRowLwb [protected]

Definition at line 43 of file TDecompBase.h.

Referenced by TDecompBK::Decompose(), GetRowLwb(), operator=(), Print(), TDecompChol::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompBK::SetMatrix(), TDecompSVD::SetMatrix(), TDecompSparse::SetMatrix(), TDecompSparse::Solve(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSparse::TDecompSparse(), and TDecompSVD::TDecompSVD().

Int_t TDecompBase::fColLwb [protected]

Definition at line 44 of file TDecompBase.h.

Referenced by GetColLwb(), operator=(), Print(), TDecompChol::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompBK::SetMatrix(), TDecompSVD::SetMatrix(), TDecompSparse::SetMatrix(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSparse::TDecompSparse(), and TDecompSVD::TDecompSVD().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:35:58 2011 for ROOT_528-00b_version by  doxygen 1.5.1