TMatrixTSym<float>
class description - header file - source file - inheritance tree (.pdf)
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, float*&)
Int_t Memcpy_m(float* newp, const float* oldp, Int_t copySize, Int_t newSize, Int_t oldSize)
float* New_m(Int_t size)
public:
TMatrixTSym<float>()
TMatrixTSym<float>(Int_t nrows)
TMatrixTSym<float>(Int_t row_lwb, Int_t row_upb)
TMatrixTSym<float>(Int_t nrows, const float* data, Option_t* option = "")
TMatrixTSym<float>(Int_t row_lwb, Int_t row_upb, const float* data, Option_t* option = "")
TMatrixTSym<float>(const TMatrixTSym<float>& another)
TMatrixTSym<float>(TMatrixTSym<float>::EMatrixCreatorsOp1 op, const TMatrixTSym<float>& prototype)
TMatrixTSym<float>(TMatrixTSym<float>::EMatrixCreatorsOp1 op, const TMatrixT<float>& prototype)
TMatrixTSym<float>(const TMatrixTSym<float>& a, TMatrixTSym<float>::EMatrixCreatorsOp2 op, const TMatrixTSym<float>& b)
TMatrixTSym<float>(const TMatrixTSymLazy<float>& lazy_constructor)
TMatrixTSym<float> GetSub(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Option_t* option = "S") const
TMatrixTSym<float>(const TMatrixTSym<double>& another)
virtual ~TMatrixTSym<float>()
virtual TMatrixTBase<float>& Apply(const TElementActionT<float>& action)
virtual TMatrixTBase<float>& Apply(const TElementPosActionT<float>& action)
static TClass* Class()
virtual void Clear(Option_t* = "")
virtual Double_t Determinant() const
virtual void Determinant(Double_t& d1, Double_t& d2) const
const TMatrixT<float> EigenVectors(TVectorT<float>& eigenValues) const
virtual const Int_t* GetColIndexArray() const
virtual Int_t* GetColIndexArray()
virtual const float* GetMatrixArray() const
virtual float* GetMatrixArray()
virtual const Int_t* GetRowIndexArray() const
virtual Int_t* GetRowIndexArray()
TMatrixTSym<float>& GetSub(Int_t row_lwb, Int_t row_upb, TMatrixTSym<float>& target, Option_t* option = "S") const
virtual TMatrixTBase<float>& GetSub(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, TMatrixTBase<float>& target, Option_t* option = "S") const
TMatrixTSym<float>& Invert(Double_t* det = 0)
TMatrixTSym<float>& InvertFast(Double_t* det = 0)
virtual TClass* IsA() const
virtual Bool_t IsSymmetric() const
void Minus(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b)
void Mult(const TMatrixTSym<float>& a)
virtual float operator()(Int_t rown, Int_t coln) const
virtual float& operator()(Int_t rown, Int_t coln)
TMatrixTSym<float>& operator*=(float val)
TMatrixTSym<float>& operator+=(float val)
TMatrixTSym<float>& operator+=(const TMatrixTSym<float>& source)
TMatrixTSym<float>& operator-=(float val)
TMatrixTSym<float>& operator-=(const TMatrixTSym<float>& source)
TMatrixTSym<float>& operator=(const TMatrixTSym<float>& source)
TMatrixTSym<float>& operator=(const TMatrixTSymLazy<float>& source)
TMatrixTSym<float>& operator=(float val)
const TMatrixTRow_const<float> operator[](Int_t rown) const
TMatrixTRow<float> operator[](Int_t rown)
void Plus(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b)
virtual TMatrixTBase<float>& Randomize(float alpha, float beta, Double_t& seed)
virtual TMatrixTSym<float>& RandomizePD(float alpha, float beta, Double_t& seed)
TMatrixTSym<float>& Rank1Update(const TVectorT<float>& v, float alpha = 1.0)
virtual TMatrixTBase<float>& ResizeTo(Int_t nrows, Int_t ncols, Int_t nr_nonzeros = -1)
virtual TMatrixTBase<float>& ResizeTo(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros = -1)
TMatrixTBase<float>& ResizeTo(const TMatrixTSym<float>& m)
virtual TMatrixTBase<float>& SetColIndexArray(Int_t*)
virtual TMatrixTBase<float>& SetMatrixArray(const float* data, Option_t* option = "")
virtual TMatrixTBase<float>& SetRowIndexArray(Int_t*)
TMatrixTSym<float>& SetSub(Int_t row_lwb, const TMatrixTBase<float>& source)
virtual TMatrixTBase<float>& SetSub(Int_t row_lwb, Int_t col_lwb, const TMatrixTBase<float>& source)
virtual TMatrixTBase<float>& Shift(Int_t row_shift, Int_t col_shift)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
TMatrixTSym<float>& Similarity(const TMatrixT<float>& n)
TMatrixTSym<float>& Similarity(const TMatrixTSym<float>& n)
float Similarity(const TVectorT<float>& v) const
TMatrixTSym<float>& SimilarityT(const TMatrixT<float>& n)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TMatrixTSym<float>& T()
void TMult(const TMatrixT<float>& a)
void TMult(const TMatrixTSym<float>& a)
TMatrixTSym<float>& Transpose(const TMatrixTSym<float>& source)
TMatrixTSym<float>& Use(Int_t nrows, float* data)
TMatrixTSym<float>& Use(Int_t row_lwb, Int_t row_upb, float* data)
TMatrixTSym<float>& Use(TMatrixTSym<float>& a)
protected:
float fDataStack[25] ! data container
float* fElements [fNelems] elements themselves
public:
static const enum TMatrixTSym<float>:: kWorkMax
static const TMatrixTSym<float>::EMatrixCreatorsOp1 kZero
static const TMatrixTSym<float>::EMatrixCreatorsOp1 kUnit
static const TMatrixTSym<float>::EMatrixCreatorsOp1 kTransposed
static const TMatrixTSym<float>::EMatrixCreatorsOp1 kInverted
static const TMatrixTSym<float>::EMatrixCreatorsOp1 kAtA
static const TMatrixTSym<float>::EMatrixCreatorsOp2 kPlus
static const TMatrixTSym<float>::EMatrixCreatorsOp2 kMinus
TMatrixTSym
Template class of a symmetric matrix in the linear algebra package
Note that in this implementation both matrix element m[i][j] and
m[j][i] are updated and stored in memory . However, when making the
object persistent only the upper right triangle is stored .
void TMult(const TMatrixT <Element> &a)
Elementary constructors
void TMult(const TMatrixTSym<Element> &a)
void Minus(const TMatrixTSym<Element> &a,const TMatrixTSym<Element> &b)
const TMatrixT<Element> EigenVectors(TVectorT<Element> &eigenValues)
Last update: root/matrix:$Name: $:$Id: TMatrixTSym.cxx,v 1.15 2006/05/22 04:53:26 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.