#include "TMatrixT.h"

TMatrixT<double>


class description - header file - source file - inheritance tree (.pdf)

class TMatrixT<double> : public TMatrixTBase<double>

Inheritance Chart:
TObject
<-
TMatrixTBase<double>
<-
TMatrixT<double>

    protected:
void Allocate(Int_t nrows, Int_t ncols, Int_t row_lwb = 0, Int_t col_lwb = 0, Int_t init = 0, Int_t nr_nonzeros = -1) void Delete_m(Int_t size, double*&) Int_t Memcpy_m(double* newp, const double* oldp, Int_t copySize, Int_t newSize, Int_t oldSize) double* New_m(Int_t size) public:
TMatrixT<double>() TMatrixT<double>(Int_t nrows, Int_t ncols) TMatrixT<double>(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb) TMatrixT<double>(Int_t nrows, Int_t ncols, const double* data, Option_t* option = "") TMatrixT<double>(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, const double* data, Option_t* option = "") TMatrixT<double>(const TMatrixT<double>& another) TMatrixT<double>(const TMatrixTSym<double>& another) TMatrixT<double>(const TMatrixTSparse<double>& another) TMatrixT<double>(TMatrixT<double>::EMatrixCreatorsOp1 op, const TMatrixT<double>& prototype) TMatrixT<double>(const TMatrixT<double>& a, TMatrixT<double>::EMatrixCreatorsOp2 op, const TMatrixT<double>& b) TMatrixT<double>(const TMatrixT<double>& a, TMatrixT<double>::EMatrixCreatorsOp2 op, const TMatrixTSym<double>& b) TMatrixT<double>(const TMatrixTSym<double>& a, TMatrixT<double>::EMatrixCreatorsOp2 op, const TMatrixT<double>& b) TMatrixT<double>(const TMatrixTSym<double>& a, TMatrixT<double>::EMatrixCreatorsOp2 op, const TMatrixTSym<double>& b) TMatrixT<double>(const TMatrixTLazy<double>& lazy_constructor) TMatrixT<double> GetSub(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Option_t* option = "S") const const TMatrixT<double> EigenVectors(TVectorT<double>& eigenValues) const virtual ~TMatrixT<double>() static TClass* Class() virtual void Clear(Option_t* = "") virtual Double_t Determinant() const virtual void Determinant(Double_t& d1, Double_t& d2) const virtual const Int_t* GetColIndexArray() const virtual Int_t* GetColIndexArray() virtual const double* GetMatrixArray() const virtual double* GetMatrixArray() virtual const Int_t* GetRowIndexArray() const virtual Int_t* GetRowIndexArray() virtual TMatrixTBase<double>& GetSub(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, TMatrixTBase<double>& target, Option_t* option = "S") const TMatrixT<double>& Invert(Double_t* det = 0) TMatrixT<double>& InvertFast(Double_t* det = 0) virtual TClass* IsA() const void Minus(const TMatrixT<double>& a, const TMatrixT<double>& b) void Minus(const TMatrixT<double>& a, const TMatrixTSym<double>& b) void Minus(const TMatrixTSym<double>& a, const TMatrixT<double>& b) void Mult(const TMatrixT<double>& a, const TMatrixT<double>& b) void Mult(const TMatrixT<double>& a, const TMatrixTSym<double>& b) void Mult(const TMatrixTSym<double>& a, const TMatrixT<double>& b) void Mult(const TMatrixTSym<double>& a, const TMatrixTSym<double>& b) void MultT(const TMatrixT<double>& a, const TMatrixT<double>& b) void MultT(const TMatrixT<double>& a, const TMatrixTSym<double>& b) void MultT(const TMatrixTSym<double>& a, const TMatrixT<double>& b) void MultT(const TMatrixTSym<double>& a, const TMatrixTSym<double>& b) TMatrixT<double>& NormByColumn(const TVectorT<double>& v, Option_t* option = "D") TMatrixT<double>& NormByRow(const TVectorT<double>& v, Option_t* option = "D") virtual double operator()(Int_t rown, Int_t coln) const virtual double& operator()(Int_t rown, Int_t coln) TMatrixT<double>& operator*=(double val) TMatrixT<double>& operator*=(const TMatrixT<double>& source) TMatrixT<double>& operator*=(const TMatrixTSym<double>& source) TMatrixT<double>& operator*=(const TMatrixTDiag_const<double>& diag) TMatrixT<double>& operator*=(const TMatrixTRow_const<double>& row) TMatrixT<double>& operator*=(const TMatrixTColumn_const<double>& col) TMatrixT<double>& operator+=(double val) TMatrixT<double>& operator+=(const TMatrixT<double>& source) TMatrixT<double>& operator+=(const TMatrixTSym<double>& source) TMatrixT<double>& operator-=(double val) TMatrixT<double>& operator-=(const TMatrixT<double>& source) TMatrixT<double>& operator-=(const TMatrixTSym<double>& source) TMatrixT<double>& operator/=(const TMatrixTDiag_const<double>& diag) TMatrixT<double>& operator/=(const TMatrixTRow_const<double>& row) TMatrixT<double>& operator/=(const TMatrixTColumn_const<double>& col) TMatrixT<double>& operator=(const TMatrixT<double>& source) TMatrixT<double>& operator=(const TMatrixTSym<double>& source) TMatrixT<double>& operator=(const TMatrixTSparse<double>& source) TMatrixT<double>& operator=(const TMatrixTLazy<double>& source) TMatrixT<double>& operator=(double val) const TMatrixTRow_const<double> operator[](Int_t rown) const TMatrixTRow<double> operator[](Int_t rown) void Plus(const TMatrixT<double>& a, const TMatrixT<double>& b) void Plus(const TMatrixT<double>& a, const TMatrixTSym<double>& b) void Plus(const TMatrixTSym<double>& a, const TMatrixT<double>& b) TMatrixT<double>& Rank1Update(const TVectorT<double>& v, double alpha = 1.0) TMatrixT<double>& Rank1Update(const TVectorT<double>& v1, const TVectorT<double>& v2, double alpha = 1.0) virtual TMatrixTBase<double>& ResizeTo(Int_t nrows, Int_t ncols, Int_t nr_nonzeros = -1) virtual TMatrixTBase<double>& ResizeTo(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros = -1) TMatrixTBase<double>& ResizeTo(const TMatrixT<double>& m) virtual TMatrixTBase<double>& SetColIndexArray(Int_t*) virtual TMatrixTBase<double>& SetRowIndexArray(Int_t*) virtual TMatrixTBase<double>& SetSub(Int_t row_lwb, Int_t col_lwb, const TMatrixTBase<double>& source) virtual void ShowMembers(TMemberInspector& insp, char* parent) double Similarity(const TVectorT<double>& v) const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) TMatrixT<double>& T() void TMult(const TMatrixT<double>& a, const TMatrixT<double>& b) void TMult(const TMatrixT<double>& a, const TMatrixTSym<double>& b) void TMult(const TMatrixTSym<double>& a, const TMatrixT<double>& b) void TMult(const TMatrixTSym<double>& a, const TMatrixTSym<double>& b) TMatrixT<double>& Transpose(const TMatrixT<double>& source) TMatrixT<double>& Use(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, double* data) TMatrixT<double>& Use(Int_t nrows, Int_t ncols, double* data) TMatrixT<double>& Use(TMatrixT<double>& a)

Data Members


    protected:
double fDataStack[25] ! data container double* fElements [fNelems] elements themselves public:
static const enum TMatrixT<double>:: kWorkMax static const TMatrixT<double>::EMatrixCreatorsOp1 kZero static const TMatrixT<double>::EMatrixCreatorsOp1 kUnit static const TMatrixT<double>::EMatrixCreatorsOp1 kTransposed static const TMatrixT<double>::EMatrixCreatorsOp1 kInverted static const TMatrixT<double>::EMatrixCreatorsOp1 kAtA static const TMatrixT<double>::EMatrixCreatorsOp2 kMult static const TMatrixT<double>::EMatrixCreatorsOp2 kTransposeMult static const TMatrixT<double>::EMatrixCreatorsOp2 kInvMult static const TMatrixT<double>::EMatrixCreatorsOp2 kMultTranspose static const TMatrixT<double>::EMatrixCreatorsOp2 kPlus static const TMatrixT<double>::EMatrixCreatorsOp2 kMinus

Class Description

                                                                      
 TMatrixT                                                             
                                                                      
 Template class of a general matrix in the linear algebra package     
                                                                      

void Delete_m(Int_t size,Element*&)
Int_t Memcpy_m(Element *newp,const Element *oldp,Int_t copySize, Int_t newSize,Int_t oldSize)
void Allocate(Int_t nrows,Int_t ncols,Int_t row_lwb = 0,Int_t col_lwb = 0,Int_t init = 0, Int_t nr_nonzeros = -1)
void Minus(const TMatrixT <Element> &a,const TMatrixT <Element> &b)
void Minus(const TMatrixT <Element> &a,const TMatrixTSym<Element> &b)
void Minus(const TMatrixTSym<Element> &a,const TMatrixT <Element> &b)
void TMult(const TMatrixT <Element> &a,const TMatrixT <Element> &b)
void TMult(const TMatrixT <Element> &a,const TMatrixTSym<Element> &b)
void TMult(const TMatrixTSym<Element> &a,const TMatrixT <Element> &b)
void TMult(const TMatrixTSym<Element> &a,const TMatrixTSym<Element> &b)
void MultT(const TMatrixT <Element> &a,const TMatrixT <Element> &b)
void MultT(const TMatrixT <Element> &a,const TMatrixTSym<Element> &b)
void MultT(const TMatrixTSym<Element> &a,const TMatrixT <Element> &b)
void MultT(const TMatrixTSym<Element> &a,const TMatrixTSym<Element> &b)
void Clear(Option_t * /*option*/ ="")
return ResizeTo(m.GetRowLwb(),m.GetRowUpb(),m.GetColLwb(),m.GetColUpb())
Element operator()(Int_t rown,Int_t coln)
 Either access a_ij as a(i,j)
const TMatrixTRow_const<Element> operator[](Int_t rown)
 or as a[i][j]
TMatrixTRow <Element> operator[](Int_t rown)
const TMatrixT<Element> EigenVectors(TVectorT<Element> &eigenValues)
return Use(a.GetRowLwb(),a.GetRowUpb(), a.GetColLwb(),a.GetColUpb(),a.GetMatrixArray())

Last update: root/matrix:$Name: $:$Id: TMatrixT.cxx,v 1.20 2006/06/02 05:11:20 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.