TDecompChol Class Reference

#include <TDecompChol.h>

Inheritance diagram for TDecompChol:

TDecompBase TDecompBase TObject TObject TObject TObject List of all members.

Public Member Functions

 TDecompChol ()
 TDecompChol (Int_t nrows)
 TDecompChol (Int_t row_lwb, Int_t row_upb)
 TDecompChol (const TMatrixDSym &a, Double_t tol=0.0)
 TDecompChol (const TMatrixD &a, Double_t tol=0.0)
 TDecompChol (const TDecompChol &another)
virtual ~TDecompChol ()
const TMatrixDSym GetMatrix ()
virtual Int_t GetNrows () const
virtual Int_t GetNcols () const
const TMatrixDGetU () const
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 &d1, Double_t &d2)
Bool_t Invert (TMatrixDSym &inv)
TMatrixDSym Invert (Bool_t &status)
TMatrixDSym Invert ()
void Print (Option_t *opt="") const
TDecompCholoperator= (const TDecompChol &source)
 TDecompChol ()
 TDecompChol (Int_t nrows)
 TDecompChol (Int_t row_lwb, Int_t row_upb)
 TDecompChol (const TMatrixDSym &a, Double_t tol=0.0)
 TDecompChol (const TMatrixD &a, Double_t tol=0.0)
 TDecompChol (const TDecompChol &another)
virtual ~TDecompChol ()
const TMatrixDSym GetMatrix ()
virtual Int_t GetNrows () const
virtual Int_t GetNcols () const
const TMatrixDGetU () const
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 &d1, Double_t &d2)
Bool_t Invert (TMatrixDSym &inv)
TMatrixDSym Invert (Bool_t &status)
TMatrixDSym Invert ()
void Print (Option_t *opt="") const
TDecompCholoperator= (const TDecompChol &source)

Protected Member Functions

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

Protected Attributes

TMatrixD fU

Detailed Description

Definition at line 28 of file TDecompChol.h.


Constructor & Destructor Documentation

TDecompChol::TDecompChol (  )  [inline]

Definition at line 38 of file TDecompChol.h.

TDecompChol::TDecompChol ( Int_t  nrows  )  [explicit]

TDecompChol::TDecompChol ( Int_t  row_lwb,
Int_t  row_upb 
)

Definition at line 41 of file TDecompChol.cxx.

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

TDecompChol::TDecompChol ( const TMatrixDSym a,
Double_t  tol = 0.0 
)

Definition at line 52 of file TDecompChol.cxx.

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

TDecompChol::TDecompChol ( const TMatrixD a,
Double_t  tol = 0.0 
)

Definition at line 71 of file TDecompChol.cxx.

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

TDecompChol::TDecompChol ( const TDecompChol another  ) 

Definition at line 95 of file TDecompChol.cxx.

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

Definition at line 44 of file TDecompChol.h.

TDecompChol::TDecompChol (  )  [inline]

Definition at line 38 of file TDecompChol.h.

TDecompChol::TDecompChol ( Int_t  nrows  )  [explicit]

TDecompChol::TDecompChol ( Int_t  row_lwb,
Int_t  row_upb 
)

TDecompChol::TDecompChol ( const TMatrixDSym a,
Double_t  tol = 0.0 
)

TDecompChol::TDecompChol ( const TMatrixD a,
Double_t  tol = 0.0 
)

TDecompChol::TDecompChol ( const TDecompChol another  ) 

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

Definition at line 44 of file TDecompChol.h.


Member Function Documentation

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

Implements TDecompBase.

Definition at line 34 of file TDecompChol.h.

References fU.

const TMatrixDSym TDecompChol::GetMatrix (  ) 

Definition at line 158 of file TDecompChol.cxx.

References Decompose(), TObject::Error(), fU, TMatrixTSym< Element >::kAtA, TDecompBase::kDecomposed, TDecompBase::kSingular, and TObject::TestBit().

Referenced by astress_decomp().

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

Implements TDecompBase.

Definition at line 47 of file TDecompChol.h.

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

Referenced by Invert().

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

Implements TDecompBase.

Definition at line 48 of file TDecompChol.h.

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

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

Definition at line 49 of file TDecompChol.h.

References fU.

Referenced by RooMultiVarGaussian::genData().

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

Definition at line 177 of file TDecompChol.cxx.

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

Bool_t TDecompChol::Decompose (  )  [virtual]

Implements TDecompBase.

Definition at line 103 of file TDecompChol.cxx.

References TObject::Error(), fU, TMatrixT< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNrows(), i, j, TDecompBase::kDecomposed, kFALSE, TDecompBase::kMatrixSet, kTRUE, n, TObject::SetBit(), TMath::Sqrt(), and TObject::TestBit().

Referenced by Det(), RooMultiVarGaussian::genData(), GetMatrix(), TMultiDimFit::MakeCoefficientErrors(), and Solve().

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

Implements TDecompBase.

Definition at line 199 of file TDecompChol.cxx.

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

Referenced by astress_decomp_io(), astress_lineqn(), TLinearFitter::Eval(), Invert(), TLinearFitter::Linf(), NormalEqn(), Solve(), and TransSolve().

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

Implements TDecompBase.

Definition at line 55 of file TDecompChol.h.

References b, Solve(), and x.

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

Implements TDecompBase.

Definition at line 257 of file TDecompChol.cxx.

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

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

Implements TDecompBase.

Definition at line 57 of file TDecompChol.h.

References b, and Solve().

Referenced by astress_decomp_io(), and astress_lineqn().

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

Implements TDecompBase.

Definition at line 58 of file TDecompChol.h.

References b, Solve(), and x.

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

Implements TDecompBase.

Definition at line 59 of file TDecompChol.h.

References b, and Solve().

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

Reimplemented from TDecompBase.

Definition at line 320 of file TDecompChol.cxx.

References Decompose(), TDecompBase::Det(), TDecompBase::fDet1, TDecompBase::fDet2, TDecompBase::kDecomposed, TDecompBase::kDetermined, TObject::SetBit(), and TObject::TestBit().

Referenced by mstress_determinant().

Bool_t TDecompChol::Invert ( TMatrixDSym inv  ) 

Definition at line 339 of file TDecompChol.cxx.

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

Referenced by TRobustEstimator::CreateSubset(), TRobustEstimator::CStep(), TLinearFitter::Eval(), TMultiDimFit::MakeCoefficientErrors(), mstress_inversion(), and TRobustEstimator::RDist().

TMatrixDSym TDecompChol::Invert ( Bool_t status  ) 

Definition at line 362 of file TDecompChol.cxx.

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

TMatrixDSym TDecompChol::Invert (  )  [inline]

Definition at line 64 of file TDecompChol.h.

Referenced by Invert().

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

Reimplemented from TDecompBase.

Definition at line 377 of file TDecompChol.cxx.

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

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

Definition at line 386 of file TDecompChol.cxx.

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

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

Implements TDecompBase.

Definition at line 34 of file TDecompChol.h.

References fU.

const TMatrixDSym TDecompChol::GetMatrix (  ) 

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

Implements TDecompBase.

Definition at line 47 of file TDecompChol.h.

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

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

Implements TDecompBase.

Definition at line 48 of file TDecompChol.h.

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

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

Definition at line 49 of file TDecompChol.h.

References fU.

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

virtual Bool_t TDecompChol::Decompose (  )  [virtual]

Implements TDecompBase.

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

Implements TDecompBase.

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

Implements TDecompBase.

Definition at line 55 of file TDecompChol.h.

References b, Solve(), and x.

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

Implements TDecompBase.

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

Implements TDecompBase.

Definition at line 57 of file TDecompChol.h.

References b, and Solve().

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

Implements TDecompBase.

Definition at line 58 of file TDecompChol.h.

References b, Solve(), and x.

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

Implements TDecompBase.

Definition at line 59 of file TDecompChol.h.

References b, and Solve().

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

Reimplemented from TDecompBase.

Bool_t TDecompChol::Invert ( TMatrixDSym inv  ) 

TMatrixDSym TDecompChol::Invert ( Bool_t status  ) 

TMatrixDSym TDecompChol::Invert (  )  [inline]

Definition at line 64 of file TDecompChol.h.

References Invert().

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

Reimplemented from TDecompBase.

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


Member Data Documentation

TMatrixD TDecompChol::fU [protected]

Definition at line 32 of file TDecompChol.h.

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


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