#include <TMatrix.h>
Inheritance diagram for TMatrix:


Public Types | |
| enum | EMatrixCreatorsOp1 { kZero, kUnit, kTransposed, kInverted, kInvertedPosDef } |
| enum | EMatrixCreatorsOp2 { kMult, kTransposeMult, kInvMult, kInvPosDefMult, kAtBA } |
Public Methods | |
| TMatrix () | |
| TMatrix (Int_t nrows, Int_t ncols) | |
| TMatrix (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb) | |
| TMatrix (Int_t nrows, Int_t ncols, const Real_t *elements, Option_t *option="") | |
| TMatrix (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, const Real_t *elements, Option_t *option="") | |
| TMatrix (const TMatrix &another) | |
| TMatrix (EMatrixCreatorsOp1 op, const TMatrix &prototype) | |
| TMatrix (const TMatrix &a, EMatrixCreatorsOp2 op, const TMatrix &b) | |
| TMatrix (const TLazyMatrix &lazy_constructor) | |
| virtual | ~TMatrix () |
| void | Draw (Option_t *option="") |
| void | ResizeTo (Int_t nrows, Int_t ncols) |
| void | ResizeTo (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb) |
| void | ResizeTo (const TMatrix &m) |
| Bool_t | IsValid () const |
| Bool_t | IsSymmetric () const |
| Int_t | GetRowLwb () const |
| Int_t | GetRowUpb () const |
| Int_t | GetNrows () const |
| Int_t | GetColLwb () const |
| Int_t | GetColUpb () const |
| Int_t | GetNcols () const |
| Int_t | GetNoElements () const |
| const Real_t * | GetElements () const |
| Real_t * | GetElements () |
| void | GetElements (Real_t *elements, Option_t *option="") const |
| void | SetElements (const Real_t *elements, Option_t *option="") |
| const Real_t & | operator() (Int_t rown, Int_t coln) const |
| Real_t & | operator() (Int_t rown, Int_t coln) |
| const TMatrixRow | operator[] (Int_t rown) const |
| TMatrixRow | operator[] (Int_t rown) |
| TMatrix & | operator= (const TMatrix &source) |
| TMatrix & | operator= (const TLazyMatrix &source) |
| TMatrix & | operator= (Real_t val) |
| TMatrix & | operator-= (Double_t val) |
| TMatrix & | operator+= (Double_t val) |
| TMatrix & | operator *= (Double_t val) |
| Bool_t | operator== (Real_t val) const |
| Bool_t | operator!= (Real_t val) const |
| Bool_t | operator< (Real_t val) const |
| Bool_t | operator<= (Real_t val) const |
| Bool_t | operator> (Real_t val) const |
| Bool_t | operator>= (Real_t val) const |
| TMatrix & | Zero () |
| TMatrix & | Abs () |
| TMatrix & | Sqr () |
| TMatrix & | Sqrt () |
| TMatrix & | Apply (const TElementAction &action) |
| TMatrix & | Apply (const TElementPosAction &action) |
| TMatrix & | Invert (Double_t *determ_ptr=0) |
| TMatrix & | InvertPosDef () |
| const TMatrix | EigenVectors (TVector &eigenValues) const |
| TMatrix & | MakeSymmetric () |
| TMatrix & | UnitMatrix () |
| TMatrix & | operator *= (const TMatrix &source) |
| TMatrix & | operator *= (const TMatrixDiag &diag) |
| TMatrix & | operator/= (const TMatrixDiag &diag) |
| TMatrix & | operator *= (const TMatrixRow &row) |
| TMatrix & | operator/= (const TMatrixRow &row) |
| TMatrix & | operator *= (const TMatrixColumn &col) |
| TMatrix & | operator/= (const TMatrixColumn &col) |
| void | Mult (const TMatrix &a, const TMatrix &b) |
| Double_t | RowNorm () const |
| Double_t | NormInf () const |
| Double_t | ColNorm () const |
| Double_t | Norm1 () const |
| Double_t | E2Norm () const |
| TMatrix & | NormByDiag (const TVector &v, Option_t *option="D") |
| TMatrix & | NormByColumn (const TVector &v, Option_t *option="D") |
| TMatrix & | NormByRow (const TVector &v, Option_t *option="D") |
| Double_t | Determinant () const |
| void | Print (Option_t *option="") const |
Protected Methods | |
| void | Allocate (Int_t nrows, Int_t ncols, Int_t row_lwb=0, Int_t col_lwb=0) |
| index[i] = &matrix(0,i) (col index) | |
| void | Invalidate () |
| void | Transpose (const TMatrix &m) |
| void | Invert (const TMatrix &m) |
| void | InvertPosDef (const TMatrix &m) |
| void | AMultB (const TMatrix &a, const TMatrix &b) |
| void | AtMultB (const TMatrix &a, const TMatrix &b) |
Static Protected Methods | |
| Int_t | Pdcholesky (const Real_t *a, Real_t *u, const Int_t n) |
| void | MakeTridiagonal (TMatrix &a, TVector &d, TVector &e) |
| void | MakeEigenVectors (TVector &d, TVector &e, TMatrix &z) |
| void | EigenSort (TMatrix &eigenVectors, TVector &eigenValues) |
Protected Attributes | |
| Int_t | fNrows |
| Int_t | fNcols |
| Int_t | fNelems |
| Int_t | fRowLwb |
| Int_t | fColLwb |
| Real_t * | fElements |
| Real_t ** | fIndex |
Friends | |
| class | TVector |
| class | TMatrixRow |
| class | TMatrixColumn |
| class | TMatrixDiag |
| class | TMatrixFlat |
| class | TMatrixPivoting |
| void | MakeHaarMatrix (TMatrix &m) |
| void | MakeHilbertMatrix (TMatrix &m) |
| TMatrix & | operator+= (TMatrix &target, const TMatrix &source) |
| TMatrix & | operator-= (TMatrix &target, const TMatrix &source) |
| TMatrix & | Add (TMatrix &target, Double_t scalar, const TMatrix &source) |
| TMatrix & | ElementMult (TMatrix &target, const TMatrix &source) |
| TMatrix & | ElementDiv (TMatrix &target, const TMatrix &source) |
| TMatrix | operator+ (const TMatrix &source1, const TMatrix &source2) |
| TMatrix | operator- (const TMatrix &source1, const TMatrix &source2) |
| TMatrix | operator * (const TMatrix &source1, const TMatrix &source2) |
| Bool_t | operator== (const TMatrix &im1, const TMatrix &im2) |
| void | Compare (const TMatrix &im1, const TMatrix &im2) |
| Bool_t | AreCompatible (const TMatrix &im1, const TMatrix &im2) |
| Double_t | E2Norm (const TMatrix &m1, const TMatrix &m2) |
|
|
|
|
|
|
|
|
Definition at line 114 of file TMatrix.h. References Invalidate(). |
|
||||||||||||
|
Definition at line 243 of file TMatrix.h. References Allocate(). |
|
||||||||||||||||||||
|
Definition at line 248 of file TMatrix.h. References Allocate(). |
|
||||||||||||||||||||
|
Definition at line 275 of file TMatrix.h. References Allocate(), and SetElements(). |
|
||||||||||||||||||||||||||||
|
Definition at line 287 of file TMatrix.h. References Allocate(), and SetElements(). |
|
|
Definition at line 372 of file TMatrix.h. References Allocate(), and TObject::Error(). |
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Definition at line 316 of file TMatrix.h. References Allocate(), TLazyMatrix::fColLwb, TLazyMatrix::fColUpb, TLazyMatrix::FillIn(), TLazyMatrix::fRowLwb, and TLazyMatrix::fRowUpb. |
|
|
|
|
||||||||||||||||||||
|
index[i] = &matrix(0,i) (col index)
Referenced by TMatrix(). |
|
|
Definition at line 93 of file TMatrix.h. References fElements, fIndex, fNcols, fNelems, and fNrows. Referenced by TMatrix(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Reimplemented from TObject. |
|
||||||||||||
|
Referenced by ResizeTo(). |
|
||||||||||||||||||||
|
|
|
|
Definition at line 381 of file TMatrix.h. References GetColLwb(), GetColUpb(), GetRowLwb(), GetRowUpb(), and ResizeTo(). |
|
|
Definition at line 230 of file TMatrix.h. References fNrows. Referenced by Apply(), AreCompatible(), GetElements(), operator=(), SetElements(), TMatrixColumn::TMatrixColumn(), TMatrixRow::TMatrixRow(), and Zero(). |
|
|
|
|
|
Definition at line 135 of file TMatrix.h. References fRowLwb. |
|
|
Definition at line 136 of file TMatrix.h. |
|
|
Definition at line 137 of file TMatrix.h. References fNrows. |
|
|
Definition at line 138 of file TMatrix.h. References fColLwb. |
|
|
Definition at line 139 of file TMatrix.h. |
|
|
Definition at line 140 of file TMatrix.h. References fNcols. |
|
|
Definition at line 141 of file TMatrix.h. References fNelems. |
|
|
Definition at line 142 of file TMatrix.h. References fElements. |
|
|
Definition at line 143 of file TMatrix.h. References fElements. |
|
||||||||||||
|
Definition at line 294 of file TMatrix.h. References TString::Contains(), TObject::Error(), fElements, fNcols, fNelems, fNrows, IsValid(), and TString::ToUpper(). |
|
||||||||||||
|
Definition at line 253 of file TMatrix.h. References TString::Contains(), TObject::Error(), fElements, fNcols, fNelems, fNrows, IsValid(), and TString::ToUpper(). Referenced by TMatrix(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Definition at line 363 of file TMatrix.h. References AreCompatible, fElements, fNelems, and TObject::operator=(). |
|
|
Definition at line 324 of file TMatrix.h. References TObject::Error(), TLazyMatrix::fColLwb, TLazyMatrix::fColUpb, TLazyMatrix::FillIn(), TLazyMatrix::fRowLwb, TLazyMatrix::fRowUpb, GetColLwb(), GetColUpb(), GetRowLwb(), GetRowUpb(), and IsValid(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 401 of file TMatrix.h. References TObject::Error(), fElements, fNelems, and IsValid(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 410 of file TMatrix.h. References TObject::Error(), fElements, fNelems, IsValid(), and TElementAction::Operation(). |
|
|
Definition at line 420 of file TMatrix.h. References Assert, TObject::Error(), fColLwb, fElements, TElementPosAction::fI, TElementPosAction::fJ, fNcols, fNelems, fNrows, fRowLwb, IsValid(), and TElementPosAction::Operation(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Referenced by NormInf(). |
|
|
Definition at line 193 of file TMatrix.h. References RowNorm(). |
|
|
Referenced by Norm1(). |
|
|
Definition at line 195 of file TMatrix.h. References ColNorm(). |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
Reimplemented from TObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 343 of file TMatrix.h. Referenced by operator=(). |
|
||||||||||||
|
|
|
|
Definition at line 84 of file TMatrix.h. Referenced by Apply(), AreCompatible(), GetElements(), GetNrows(), GetRowUpb(), Invalidate(), IsValid(), TMatrixColumn::operator=(), SetElements(), and TMatrixRow::TMatrixRow(). |
|
|
Definition at line 85 of file TMatrix.h. Referenced by Apply(), AreCompatible(), GetColUpb(), GetElements(), GetNcols(), Invalidate(), SetElements(), and TMatrixColumn::TMatrixColumn(). |
|
|
Definition at line 86 of file TMatrix.h. Referenced by Apply(), GetElements(), GetNoElements(), Invalidate(), TMatrixFlat::operator=(), TMatrixRow::operator=(), operator=(), SetElements(), and Zero(). |
|
|
Definition at line 87 of file TMatrix.h. Referenced by Apply(), AreCompatible(), GetRowLwb(), GetRowUpb(), and TMatrixRow::TMatrixRow(). |
|
|
Definition at line 88 of file TMatrix.h. Referenced by Apply(), AreCompatible(), GetColLwb(), GetColUpb(), and TMatrixColumn::TMatrixColumn(). |
|
|
Definition at line 89 of file TMatrix.h. Referenced by Apply(), GetElements(), Invalidate(), operator=(), SetElements(), and Zero(). |
|
|
Definition at line 90 of file TMatrix.h. Referenced by Invalidate(), TMatrixColumn::TMatrixColumn(), and TMatrixRow::TMatrixRow(). |
1.2.16