TMatrix


class description - source file - inheritance tree

class TMatrix : public TObject


    protected:
void Allocate(Int_t nrows, Int_t ncols, Int_t row_lwb = 0, Int_t col_lwb = 0) void AMultB(const TMatrix& a, const TMatrix& b) void AtMultB(const TMatrix& a, const TMatrix& b) static void EigenSort(TMatrix& eigenVectors, TVector& eigenValues) void Invalidate() void Invert(const TMatrix& m) void InvertPosDef(const TMatrix& m) static void MakeEigenVectors(TVector& d, TVector& e, TMatrix& z) static void MakeTridiagonal(TMatrix& a, TVector& d, TVector& e) static Int_t Pdcholesky(const Real_t* a, Real_t* u, const Int_t n) void Transpose(const TMatrix& m) public:
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(TMatrix::EMatrixCreatorsOp1 op, const TMatrix& prototype) TMatrix(const TMatrix& a, TMatrix::EMatrixCreatorsOp2 op, const TMatrix& b) TMatrix(const TLazyMatrix& lazy_constructor) const TMatrix EigenVectors(TVector& eigenValues) const virtual ~TMatrix() TMatrix& Abs() TMatrix& Apply(const TElementPosAction& action) TMatrix& Apply(const TElementAction& action) static TClass* Class() virtual void Clear(Option_t* option) Double_t ColNorm() const Double_t Determinant() const virtual void Draw(Option_t* option) Double_t E2Norm() const Int_t GetColLwb() const Int_t GetColUpb() const void GetElements(Real_t* elements, Option_t* option) const const Real_t* GetElements() const Real_t* GetElements() Int_t GetNcols() const Int_t GetNoElements() const Int_t GetNrows() const Int_t GetRowLwb() const Int_t GetRowUpb() const TMatrix& Invert(Double_t* determ_ptr = 0) TMatrix& InvertPosDef() virtual TClass* IsA() const Bool_t IsSymmetric() const Bool_t IsValid() const TMatrix& MakeSymmetric() void Mult(const TMatrix& a, const TMatrix& b) Double_t Norm1() const TMatrix& NormByColumn(const TVector& v, Option_t* option = "D") TMatrix& NormByDiag(const TVector& v, Option_t* option = "D") TMatrix& NormByRow(const TVector& v, Option_t* option = "D") Double_t NormInf() const Bool_t operator!=(Real_t val) const const Real_t& operator()(Int_t rown, Int_t coln) const Real_t& operator()(Int_t rown, Int_t coln) TMatrix& operator*=(const TMatrixRow& row) TMatrix& operator*=(const TMatrixDiag& diag) TMatrix& operator*=(Double_t val) TMatrix& operator*=(const TMatrix& source) TMatrix& operator*=(const TMatrixColumn& col) TMatrix& operator+=(Double_t val) TMatrix& operator-=(Double_t val) TMatrix& operator/=(const TMatrixDiag& diag) TMatrix& operator/=(const TMatrixColumn& col) TMatrix& operator/=(const TMatrixRow& row) Bool_t operator<(Real_t val) const Bool_t operator<=(Real_t val) const TMatrix& operator=(Real_t val) TMatrix& operator=(const TLazyMatrix& source) TMatrix& operator=(const TMatrix& source) Bool_t operator==(Real_t val) const Bool_t operator>(Real_t val) const Bool_t operator>=(Real_t val) const const TMatrixRow operator[](Int_t rown) const TMatrixRow operator[](Int_t rown) virtual void Print(Option_t* option) const 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) Double_t RowNorm() const void SetElements(const Real_t* elements, Option_t* option) virtual void ShowMembers(TMemberInspector& insp, char* parent) TMatrix& Sqr() TMatrix& Sqrt() virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) TMatrix& UnitMatrix() TMatrix& Zero()

Data Members


    protected:
Int_t fNrows number of rows Int_t fNcols number of columns Int_t fNelems number of elements in matrix Int_t fRowLwb lower bound of the row index Int_t fColLwb lower bound of the col index Real_t* fElements [fNelems] elements themselves Real_t** fIndex ! index[i] = &matrix(0,i) (col index) public:
static const TMatrix::EMatrixCreatorsOp1 kZero static const TMatrix::EMatrixCreatorsOp1 kUnit static const TMatrix::EMatrixCreatorsOp1 kTransposed static const TMatrix::EMatrixCreatorsOp1 kInverted static const TMatrix::EMatrixCreatorsOp1 kInvertedPosDef static const TMatrix::EMatrixCreatorsOp2 kMult static const TMatrix::EMatrixCreatorsOp2 kTransposeMult static const TMatrix::EMatrixCreatorsOp2 kInvMult static const TMatrix::EMatrixCreatorsOp2 kInvPosDefMult static const TMatrix::EMatrixCreatorsOp2 kAtBA

Class Description



Last update: Fri May 14 13:32:40 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.