TDecompBK Class Reference

#include <TDecompBK.h>

Inheritance diagram for TDecompBK:

TDecompBase TDecompBase TObject TObject TObject TObject List of all members.

Public Member Functions

 TDecompBK ()
 TDecompBK (Int_t nrows)
 TDecompBK (Int_t row_lwb, Int_t row_upb)
 TDecompBK (const TMatrixDSym &m, Double_t tol=0.0)
 TDecompBK (const TDecompBK &another)
virtual ~TDecompBK ()
virtual Int_t GetNrows () const
virtual Int_t GetNcols () const
const TMatrixDGetU ()
virtual void SetMatrix (const TMatrixDSym &a)
virtual Bool_t Decompose ()
virtual Bool_t Solve (TVectorD &b)
virtual TVectorD Solve (const TVectorD &b, Bool_t &ok)
virtual Bool_t Solve (TMatrixDColumn &b)
virtual Bool_t TransSolve (TVectorD &b)
virtual TVectorD TransSolve (const TVectorD &b, Bool_t &ok)
virtual Bool_t TransSolve (TMatrixDColumn &b)
virtual void Det (Double_t &, Double_t &)
Bool_t Invert (TMatrixDSym &inv)
TMatrixDSym Invert (Bool_t &status)
TMatrixDSym Invert ()
void Print (Option_t *opt="") const
TDecompBKoperator= (const TDecompBK &source)
 TDecompBK ()
 TDecompBK (Int_t nrows)
 TDecompBK (Int_t row_lwb, Int_t row_upb)
 TDecompBK (const TMatrixDSym &m, Double_t tol=0.0)
 TDecompBK (const TDecompBK &another)
virtual ~TDecompBK ()
virtual Int_t GetNrows () const
virtual Int_t GetNcols () const
const TMatrixDGetU ()
virtual void SetMatrix (const TMatrixDSym &a)
virtual Bool_t Decompose ()
virtual Bool_t Solve (TVectorD &b)
virtual TVectorD Solve (const TVectorD &b, Bool_t &ok)
virtual Bool_t Solve (TMatrixDColumn &b)
virtual Bool_t TransSolve (TVectorD &b)
virtual TVectorD TransSolve (const TVectorD &b, Bool_t &ok)
virtual Bool_t TransSolve (TMatrixDColumn &b)
virtual void Det (Double_t &, Double_t &)
Bool_t Invert (TMatrixDSym &inv)
TMatrixDSym Invert (Bool_t &status)
TMatrixDSym Invert ()
void Print (Option_t *opt="") const
TDecompBKoperator= (const TDecompBK &source)

Protected Member Functions

virtual const TMatrixDBaseGetDecompMatrix () const
virtual const TMatrixDBaseGetDecompMatrix () const

Protected Attributes

Int_t fNIpiv
Int_tfIpiv
TMatrixD fU
Int_tfIpiv

Detailed Description

Definition at line 31 of file TDecompBK.h.


Constructor & Destructor Documentation

TDecompBK::TDecompBK (  ) 

TDecompBK::TDecompBK ( Int_t  nrows  )  [explicit]

Definition at line 66 of file TDecompBK.cxx.

References fIpiv, fNIpiv, fU, and TMatrixT< Element >::ResizeTo().

TDecompBK::TDecompBK ( Int_t  row_lwb,
Int_t  row_upb 
)

Definition at line 77 of file TDecompBK.cxx.

References TDecompBase::fColLwb, fIpiv, fNIpiv, TDecompBase::fRowLwb, fU, nrows, and TMatrixT< Element >::ResizeTo().

TDecompBK::TDecompBK ( const TMatrixDSym m,
Double_t  tol = 0.0 
)

Definition at line 90 of file TDecompBK.cxx.

References a, TDecompBase::fColLwb, TDecompBase::fCondition, fIpiv, fNIpiv, TDecompBase::fRowLwb, TDecompBase::fTol, fU, TMatrixT< Element >::GetMatrixArray(), TDecompBase::kMatrixSet, R__ASSERT, TMatrixT< Element >::ResizeTo(), and TObject::SetBit().

TDecompBK::TDecompBK ( const TDecompBK another  ) 

Definition at line 113 of file TDecompBK.cxx.

References fIpiv, and fNIpiv.

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

Definition at line 48 of file TDecompBK.h.

References fIpiv.

TDecompBK::TDecompBK (  ) 

TDecompBK::TDecompBK ( Int_t  nrows  )  [explicit]

TDecompBK::TDecompBK ( Int_t  row_lwb,
Int_t  row_upb 
)

TDecompBK::TDecompBK ( const TMatrixDSym m,
Double_t  tol = 0.0 
)

TDecompBK::TDecompBK ( const TDecompBK another  ) 

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

Definition at line 48 of file TDecompBK.h.

References fIpiv.


Member Function Documentation

virtual const TMatrixDBase& TDecompBK::GetDecompMatrix (  )  const [inline, protected, virtual]

Implements TDecompBase.

Definition at line 39 of file TDecompBK.h.

References fU.

virtual Int_t TDecompBK::GetNrows (  )  const [inline, virtual]

Implements TDecompBase.

Definition at line 50 of file TDecompBK.h.

References fU, and TMatrixTBase< Element >::GetNrows().

Referenced by Invert().

virtual Int_t TDecompBK::GetNcols (  )  const [inline, virtual]

Implements TDecompBase.

Definition at line 51 of file TDecompBK.h.

References fU, and TMatrixTBase< Element >::GetNcols().

const TMatrixD& TDecompBK::GetU (  )  [inline]

Definition at line 52 of file TDecompBK.h.

References Decompose(), fU, TDecompBase::kDecomposed, and TObject::TestBit().

void TDecompBK::SetMatrix ( const TMatrixDSym a  )  [virtual]

Definition at line 307 of file TDecompBK.cxx.

References a, TDecompBase::fColLwb, TDecompBase::fCondition, fIpiv, fNIpiv, TDecompBase::fRowLwb, fU, TMatrixT< Element >::GetMatrixArray(), TDecompBase::kMatrixSet, R__ASSERT, TDecompBase::ResetStatus(), TMatrixT< Element >::ResizeTo(), and TObject::SetBit().

Bool_t TDecompBK::Decompose (  )  [virtual]

Implements TDecompBase.

Definition at line 123 of file TDecompBK.cxx.

References TMath::Abs(), TVectorT< Element >::Abs(), diag, TObject::Error(), fIpiv, TDecompBase::fRowLwb, TDecompBase::fTol, fU, TVectorT< Element >::GetMatrixArray(), TMatrixT< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), i, j, k, TDecompBase::kDecomposed, kFALSE, TDecompBase::kMatrixSet, TDecompBase::kSingular, kTRUE, TMath::LocMax(), TMath::Max(), n, ok, r1, TMatrixTSub< Element >::Rank1Update(), TObject::SetBit(), TMatrixTBase< Element >::Shift(), TMath::Sqrt(), t, and TObject::TestBit().

Referenced by GetU(), and Solve().

Bool_t TDecompBK::Solve ( TVectorD b  )  [virtual]

Implements TDecompBase.

Definition at line 332 of file TDecompBK.cxx.

References b, Decompose(), diag, TObject::Error(), fIpiv, fU, TMatrixT< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNrows(), TMatrixTBase< Element >::GetRowLwb(), i, k, TDecompBase::kDecomposed, kFALSE, TDecompBase::kSingular, kTRUE, n, R__ASSERT, and TObject::TestBit().

Referenced by astress_decomp_io(), astress_lineqn(), Invert(), Solve(), and TransSolve().

virtual TVectorD TDecompBK::Solve ( const TVectorD b,
Bool_t ok 
) [inline, virtual]

Implements TDecompBase.

Definition at line 59 of file TDecompBK.h.

References b, Solve(), and x.

Bool_t TDecompBK::Solve ( TMatrixDColumn b  )  [virtual]

Implements TDecompBase.

Definition at line 466 of file TDecompBK.cxx.

References b, Decompose(), diag, TObject::Error(), fIpiv, fU, TMatrixT< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNrows(), TMatrixTColumn< Element >::GetPtr(), TMatrixTBase< Element >::GetRowLwb(), i, k, TDecompBase::kDecomposed, kFALSE, TDecompBase::kSingular, kTRUE, n, R__ASSERT, and TObject::TestBit().

virtual Bool_t TDecompBK::TransSolve ( TVectorD b  )  [inline, virtual]

Implements TDecompBase.

Definition at line 61 of file TDecompBK.h.

References b, and Solve().

Referenced by astress_decomp_io(), and astress_lineqn().

virtual TVectorD TDecompBK::TransSolve ( const TVectorD b,
Bool_t ok 
) [inline, virtual]

Implements TDecompBase.

Definition at line 62 of file TDecompBK.h.

References b, Solve(), and x.

virtual Bool_t TDecompBK::TransSolve ( TMatrixDColumn b  )  [inline, virtual]

Implements TDecompBase.

Definition at line 63 of file TDecompBK.h.

References b, and Solve().

virtual void TDecompBK::Det ( Double_t ,
Double_t  
) [inline, virtual]

Reimplemented from TDecompBase.

Definition at line 64 of file TDecompBK.h.

References TObject::MayNotUse().

Bool_t TDecompBK::Invert ( TMatrixDSym inv  ) 

Definition at line 603 of file TDecompBK.cxx.

References b, TObject::Error(), GetNrows(), TDecompBase::GetRowLwb(), inv(), kFALSE, kTRUE, and Solve().

TMatrixDSym TDecompBK::Invert ( Bool_t status  ) 

Definition at line 626 of file TDecompBK.cxx.

References GetNrows(), TDecompBase::GetRowLwb(), inv(), and Invert().

TMatrixDSym TDecompBK::Invert (  )  [inline]

Definition at line 69 of file TDecompBK.h.

Referenced by Invert().

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

Reimplemented from TDecompBase.

Definition at line 641 of file TDecompBK.cxx.

References fIpiv, fNIpiv, fU, i, TMatrixTBase< Element >::Print(), and TDecompBase::Print().

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

Definition at line 653 of file TDecompBK.cxx.

References fIpiv, fNIpiv, fU, TDecompBase::operator=(), and TMatrixT< Element >::ResizeTo().

virtual const TMatrixDBase& TDecompBK::GetDecompMatrix (  )  const [inline, protected, virtual]

Implements TDecompBase.

Definition at line 39 of file TDecompBK.h.

References fU.

virtual Int_t TDecompBK::GetNrows (  )  const [inline, virtual]

Implements TDecompBase.

Definition at line 50 of file TDecompBK.h.

References fU, and TMatrixTBase< Element >::GetNrows().

virtual Int_t TDecompBK::GetNcols (  )  const [inline, virtual]

Implements TDecompBase.

Definition at line 51 of file TDecompBK.h.

References fU, and TMatrixTBase< Element >::GetNcols().

const TMatrixD& TDecompBK::GetU (  )  [inline]

Definition at line 52 of file TDecompBK.h.

References Decompose(), fU, TDecompBase::kDecomposed, and TObject::TestBit().

virtual void TDecompBK::SetMatrix ( const TMatrixDSym a  )  [virtual]

virtual Bool_t TDecompBK::Decompose (  )  [virtual]

Implements TDecompBase.

virtual Bool_t TDecompBK::Solve ( TVectorD b  )  [virtual]

Implements TDecompBase.

virtual TVectorD TDecompBK::Solve ( const TVectorD b,
Bool_t ok 
) [inline, virtual]

Implements TDecompBase.

Definition at line 59 of file TDecompBK.h.

References b, Solve(), and x.

virtual Bool_t TDecompBK::Solve ( TMatrixDColumn b  )  [virtual]

Implements TDecompBase.

virtual Bool_t TDecompBK::TransSolve ( TVectorD b  )  [inline, virtual]

Implements TDecompBase.

Definition at line 61 of file TDecompBK.h.

References b, and Solve().

virtual TVectorD TDecompBK::TransSolve ( const TVectorD b,
Bool_t ok 
) [inline, virtual]

Implements TDecompBase.

Definition at line 62 of file TDecompBK.h.

References b, Solve(), and x.

virtual Bool_t TDecompBK::TransSolve ( TMatrixDColumn b  )  [inline, virtual]

Implements TDecompBase.

Definition at line 63 of file TDecompBK.h.

References b, and Solve().

virtual void TDecompBK::Det ( Double_t ,
Double_t  
) [inline, virtual]

Reimplemented from TDecompBase.

Definition at line 64 of file TDecompBK.h.

References TObject::MayNotUse().

Bool_t TDecompBK::Invert ( TMatrixDSym inv  ) 

TMatrixDSym TDecompBK::Invert ( Bool_t status  ) 

TMatrixDSym TDecompBK::Invert (  )  [inline]

Definition at line 69 of file TDecompBK.h.

References Invert().

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

Reimplemented from TDecompBase.

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


Member Data Documentation

Int_t TDecompBK::fNIpiv [protected]

Definition at line 35 of file TDecompBK.h.

Referenced by operator=(), Print(), SetMatrix(), and TDecompBK().

Int_t* TDecompBK::fIpiv [protected]

Definition at line 36 of file TDecompBK.h.

Referenced by Decompose(), operator=(), Print(), SetMatrix(), Solve(), TDecompBK(), and ~TDecompBK().

TMatrixD TDecompBK::fU [protected]

Definition at line 37 of file TDecompBK.h.

Referenced by Decompose(), GetDecompMatrix(), GetNcols(), GetNrows(), GetU(), operator=(), Print(), SetMatrix(), Solve(), and TDecompBK().

Int_t* TDecompBK::fIpiv [protected]

Definition at line 36 of file TDecompBK.h.


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