TMatrixD


class description - source file - inheritance tree

class TMatrixD : public TObject


    protected:
void Allocate(Int_t nrows, Int_t ncols, Int_t row_lwb = 0, Int_t col_lwb = 0) void AMultB(const TMatrixD& a, const TMatrixD& b) void AtMultB(const TMatrixD& a, const TMatrixD& b) static void EigenSort(TMatrixD& eigenVectors, TVectorD& eigenValues) void Invalidate() void Invert(const TMatrixD& m) void InvertPosDef(const TMatrixD& m) static void MakeEigenVectors(TVectorD& d, TVectorD& e, TMatrixD& z) static void MakeTridiagonal(TMatrixD& a, TVectorD& d, TVectorD& e) static Int_t Pdcholesky(const Double_t* a, Double_t* u, const Int_t n) void Transpose(const TMatrixD& m) public:
TMatrixD() TMatrixD(Int_t nrows, Int_t ncols) TMatrixD(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb) TMatrixD(Int_t nrows, Int_t ncols, const Double_t* elements, Option_t* option) TMatrixD(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, const Double_t* elements, Option_t* option) TMatrixD(const TMatrixD& another) TMatrixD(TMatrixD::EMatrixCreatorsOp1 op, const TMatrixD& prototype) TMatrixD(const TMatrixD& a, TMatrixD::EMatrixCreatorsOp2 op, const TMatrixD& b) TMatrixD(const TLazyMatrixD& lazy_constructor) const TMatrixD EigenVectors(TVectorD& eigenValues) const virtual ~TMatrixD() TMatrixD& Abs() TMatrixD& Apply(const TElementPosActionD& action) TMatrixD& Apply(const TElementActionD& 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(Double_t* elements, Option_t* option) const const Double_t* GetElements() const Double_t* GetElements() Int_t GetNcols() const Int_t GetNoElements() const Int_t GetNrows() const Int_t GetRowLwb() const Int_t GetRowUpb() const TMatrixD& Invert(Double_t* determ_ptr = 0) TMatrixD& InvertPosDef() virtual TClass* IsA() const Bool_t IsSymmetric() const Bool_t IsValid() const TMatrixD& MakeSymmetric() void Mult(const TMatrixD& a, const TMatrixD& b) Double_t Norm1() const TMatrixD& NormByColumn(const TVectorD& v, Option_t* option = "D") TMatrixD& NormByDiag(const TVectorD& v, Option_t* option = "D") TMatrixD& NormByRow(const TVectorD& v, Option_t* option = "D") Double_t NormInf() const Bool_t operator!=(Double_t val) const const Double_t& operator()(Int_t rown, Int_t coln) const Double_t& operator()(Int_t rown, Int_t coln) TMatrixD& operator*=(const TMatrixDRow& row) TMatrixD& operator*=(const TMatrixDDiag& diag) TMatrixD& operator*=(Double_t val) TMatrixD& operator*=(const TMatrixD& source) TMatrixD& operator*=(const TMatrixDColumn& col) TMatrixD& operator+=(Double_t val) TMatrixD& operator-=(Double_t val) TMatrixD& operator/=(const TMatrixDDiag& diag) TMatrixD& operator/=(const TMatrixDColumn& col) TMatrixD& operator/=(const TMatrixDRow& row) Bool_t operator<(Double_t val) const Bool_t operator<=(Double_t val) const TMatrixD& operator=(Double_t val) TMatrixD& operator=(const TLazyMatrixD& source) TMatrixD& operator=(const TMatrixD& source) Bool_t operator==(Double_t val) const Bool_t operator>(Double_t val) const Bool_t operator>=(Double_t val) const const TMatrixDRow operator[](Int_t rown) const TMatrixDRow 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 TMatrixD& m) Double_t RowNorm() const void SetElements(const Double_t* elements, Option_t* option) virtual void ShowMembers(TMemberInspector& insp, char* parent) TMatrixD& Sqr() TMatrixD& Sqrt() virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) TMatrixD& UnitMatrix() TMatrixD& 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 Double_t* fElements [fNelems] elements themselves Double_t** fIndex ! index[i] = &matrix(0,i) (col index) public:
static const TMatrixD::EMatrixCreatorsOp1 kZero static const TMatrixD::EMatrixCreatorsOp1 kUnit static const TMatrixD::EMatrixCreatorsOp1 kTransposed static const TMatrixD::EMatrixCreatorsOp1 kInverted static const TMatrixD::EMatrixCreatorsOp1 kInvertedPosDef static const TMatrixD::EMatrixCreatorsOp2 kMult static const TMatrixD::EMatrixCreatorsOp2 kTransposeMult static const TMatrixD::EMatrixCreatorsOp2 kInvMult static const TMatrixD::EMatrixCreatorsOp2 kInvPosDefMult static const TMatrixD::EMatrixCreatorsOp2 kAtBA

Class Description



Last update: Fri May 14 13:32:41 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.