#include "TMatrixT.h"

TMatrixT


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

class TMatrixT : public TMatrixTBase<float>

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

    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 AMultB(const TMatrixT<float>& a, const TMatrixT<float>& b, Int_t constr = 1) void AMultB(const TMatrixT<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1) void AMultB(const TMatrixTSym<float>& a, const TMatrixT<float>& b, Int_t constr = 1) void AMultB(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1) void AMultBt(const TMatrixT<float>& a, const TMatrixT<float>& b, Int_t constr = 1) void AMultBt(const TMatrixT<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1) void AMultBt(const TMatrixTSym<float>& a, const TMatrixT<float>& b, Int_t constr = 1) void AMultBt(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1) void AtMultB(const TMatrixT<float>& a, const TMatrixT<float>& b, Int_t constr = 1) void AtMultB(const TMatrixT<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1) void AtMultB(const TMatrixTSym<float>& a, const TMatrixT<float>& b, Int_t constr = 1) void AtMultB(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b, Int_t constr = 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:
TMatrixT<float>() TMatrixT<float>(Int_t nrows, Int_t ncols) TMatrixT<float>(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb) TMatrixT<float>(Int_t nrows, Int_t ncols, const float* data, Option_t* option = "") TMatrixT<float>(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, const float* data, Option_t* option = "") TMatrixT<float>(const TMatrixT<float>& another) TMatrixT<float>(const TMatrixTSym<float>& another) TMatrixT<float>(const TMatrixTSparse<float>& another) TMatrixT<float>(TMatrixT<float>::EMatrixCreatorsOp1 op, const TMatrixT<float>& prototype) TMatrixT<float>(const TMatrixT<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixT<float>& b) TMatrixT<float>(const TMatrixT<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixTSym<float>& b) TMatrixT<float>(const TMatrixTSym<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixT<float>& b) TMatrixT<float>(const TMatrixTSym<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixTSym<float>& b) TMatrixT<float>(const TMatrixTLazy<float>& lazy_constructor) TMatrixT<float> GetSub(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Option_t* option = "S") const const TMatrixT<float> EigenVectors(TVectorT<float>& eigenValues) const TMatrixT<float>(const TMatrixT<double>& another) virtual ~TMatrixT<float>() 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 float* GetMatrixArray() const virtual float* GetMatrixArray() virtual const Int_t* GetRowIndexArray() const virtual Int_t* GetRowIndexArray() 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 TMatrixT<float>& Invert(Double_t* det = 0) TMatrixT<float>& InvertFast(Double_t* det = 0) virtual TClass* IsA() const void Mult(const TMatrixT<float>& a, const TMatrixT<float>& b) void Mult(const TMatrixT<float>& a, const TMatrixTSym<float>& b) void Mult(const TMatrixTSym<float>& a, const TMatrixT<float>& b) TMatrixT<float>& NormByColumn(const TVectorT<float>& v, Option_t* option = "D") TMatrixT<float>& NormByRow(const TVectorT<float>& v, Option_t* option = "D") virtual float operator()(Int_t rown, Int_t coln) const virtual float& operator()(Int_t rown, Int_t coln) TMatrixT<float>& operator*=(float val) TMatrixT<float>& operator*=(const TMatrixT<float>& source) TMatrixT<float>& operator*=(const TMatrixTSym<float>& source) TMatrixT<float>& operator*=(const TMatrixTDiag_const<float>& diag) TMatrixT<float>& operator*=(const TMatrixTRow_const<float>& row) TMatrixT<float>& operator*=(const TMatrixTColumn_const<float>& col) TMatrixT<float>& operator+=(float val) TMatrixT<float>& operator+=(const TMatrixT<float>& source) TMatrixT<float>& operator+=(const TMatrixTSym<float>& source) TMatrixT<float>& operator-=(float val) TMatrixT<float>& operator-=(const TMatrixT<float>& source) TMatrixT<float>& operator-=(const TMatrixTSym<float>& source) TMatrixT<float>& operator/=(const TMatrixTDiag_const<float>& diag) TMatrixT<float>& operator/=(const TMatrixTRow_const<float>& row) TMatrixT<float>& operator/=(const TMatrixTColumn_const<float>& col) TMatrixT<float>& operator=(const TMatrixT<float>& source) TMatrixT<float>& operator=(const TMatrixTSym<float>& source) TMatrixT<float>& operator=(const TMatrixTSparse<float>& source) TMatrixT<float>& operator=(const TMatrixTLazy<float>& source) TMatrixT<float>& operator=(float val) const TMatrixTRow_const<float> operator[](Int_t rown) const TMatrixTRow<float> operator[](Int_t rown) TMatrixT<float>& Rank1Update(const TVectorT<float>& v, float alpha = 1.0) TMatrixT<float>& Rank1Update(const TVectorT<float>& v1, const TVectorT<float>& v2, 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 TMatrixT<float>& m) virtual TMatrixTBase<float>& SetColIndexArray(Int_t*) virtual TMatrixTBase<float>& SetRowIndexArray(Int_t*) virtual TMatrixTBase<float>& SetSub(Int_t row_lwb, Int_t col_lwb, const TMatrixTBase<float>& source) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) TMatrixT<float>& T() TMatrixT<float>& Transpose(const TMatrixT<float>& source) TMatrixT<float>& Use(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, float* data) TMatrixT<float>& Use(Int_t nrows, Int_t ncols, float* data) TMatrixT<float>& Use(TMatrixT<float>& a)

Data Members


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

Class Description

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




Inline Functions


                                  void ~TMatrixT()
                                float* New_m(Int_t size)
                                  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)
                                  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 AMultB(const TMatrixT<float>& a, const TMatrixT<float>& b, Int_t constr = 1)
                                  void AMultB(const TMatrixT<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1)
                                  void AMultB(const TMatrixTSym<float>& a, const TMatrixT<float>& b, Int_t constr = 1)
                                  void AMultB(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1)
                                  void AtMultB(const TMatrixT<float>& a, const TMatrixT<float>& b, Int_t constr = 1)
                                  void AtMultB(const TMatrixT<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1)
                                  void AtMultB(const TMatrixTSym<float>& a, const TMatrixT<float>& b, Int_t constr = 1)
                                  void AtMultB(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1)
                                  void AMultBt(const TMatrixT<float>& a, const TMatrixT<float>& b, Int_t constr = 1)
                                  void AMultBt(const TMatrixT<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1)
                                  void AMultBt(const TMatrixTSym<float>& a, const TMatrixT<float>& b, Int_t constr = 1)
                                  void AMultBt(const TMatrixTSym<float>& a, const TMatrixTSym<float>& b, Int_t constr = 1)
                       TMatrixT<float> TMatrixT()
                       TMatrixT<float> TMatrixT(Int_t nrows, Int_t ncols)
                       TMatrixT<float> TMatrixT(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb)
                       TMatrixT<float> TMatrixT(Int_t nrows, Int_t ncols, const float* data, Option_t* option = "")
                       TMatrixT<float> TMatrixT(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, const float* data, Option_t* option = "")
                       TMatrixT<float> TMatrixT(const TMatrixT<float>& another)
                       TMatrixT<float> TMatrixT(const TMatrixTSym<float>& another)
                       TMatrixT<float> TMatrixT(const TMatrixTSparse<float>& another)
                       TMatrixT<float> TMatrixT(TMatrixT<float>::EMatrixCreatorsOp1 op, const TMatrixT<float>& prototype)
                       TMatrixT<float> TMatrixT(const TMatrixT<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixT<float>& b)
                       TMatrixT<float> TMatrixT(const TMatrixT<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixTSym<float>& b)
                       TMatrixT<float> TMatrixT(const TMatrixTSym<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixT<float>& b)
                       TMatrixT<float> TMatrixT(const TMatrixTSym<float>& a, TMatrixT<float>::EMatrixCreatorsOp2 op, const TMatrixTSym<float>& b)
                       TMatrixT<float> TMatrixT(const TMatrixTLazy<float>& lazy_constructor)
                          const float* GetMatrixArray() const
                                float* GetMatrixArray()
                          const Int_t* GetRowIndexArray() const
                                Int_t* GetRowIndexArray()
                          const Int_t* GetColIndexArray() const
                                Int_t* GetColIndexArray()
                  TMatrixTBase<float>& SetRowIndexArray(Int_t*)
                  TMatrixTBase<float>& SetColIndexArray(Int_t*)
                                  void Clear(Option_t* = "")
                      TMatrixT<float>& Use(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, float* data)
                      TMatrixT<float>& Use(Int_t nrows, Int_t ncols, float* data)
                      TMatrixT<float>& Use(TMatrixT<float>& a)
                  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
                       TMatrixT<float> GetSub(Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Option_t* option = "S") const
                  TMatrixTBase<float>& SetSub(Int_t row_lwb, Int_t col_lwb, const TMatrixTBase<float>& source)
                  TMatrixTBase<float>& ResizeTo(Int_t nrows, Int_t ncols, Int_t nr_nonzeros = -1)
                  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 TMatrixT<float>& m)
                              Double_t Determinant() const
                                  void Determinant(Double_t& d1, Double_t& d2) const
                      TMatrixT<float>& Invert(Double_t* det = 0)
                      TMatrixT<float>& InvertFast(Double_t* det = 0)
                      TMatrixT<float>& Transpose(const TMatrixT<float>& source)
                      TMatrixT<float>& T()
                      TMatrixT<float>& Rank1Update(const TVectorT<float>& v, float alpha = 1.0)
                      TMatrixT<float>& Rank1Update(const TVectorT<float>& v1, const TVectorT<float>& v2, float alpha = 1.0)
                      TMatrixT<float>& NormByColumn(const TVectorT<float>& v, Option_t* option = "D")
                      TMatrixT<float>& NormByRow(const TVectorT<float>& v, Option_t* option = "D")
                                  void Mult(const TMatrixT<float>& a, const TMatrixT<float>& b)
                                  void Mult(const TMatrixT<float>& a, const TMatrixTSym<float>& b)
                                  void Mult(const TMatrixTSym<float>& a, const TMatrixT<float>& b)
                                 float operator()(Int_t rown, Int_t coln) const
                                float& operator()(Int_t rown, Int_t coln)
        const TMatrixTRow_const<float> operator[](Int_t rown) const
                    TMatrixTRow<float> operator[](Int_t rown)
                      TMatrixT<float>& operator=(const TMatrixT<float>& source)
                      TMatrixT<float>& operator=(const TMatrixTSym<float>& source)
                      TMatrixT<float>& operator=(const TMatrixTSparse<float>& source)
                      TMatrixT<float>& operator=(const TMatrixTLazy<float>& source)
                      TMatrixT<float>& operator=(float val)
                      TMatrixT<float>& operator-=(float val)
                      TMatrixT<float>& operator+=(float val)
                      TMatrixT<float>& operator*=(float val)
                      TMatrixT<float>& operator+=(const TMatrixT<float>& source)
                      TMatrixT<float>& operator+=(const TMatrixTSym<float>& source)
                      TMatrixT<float>& operator-=(const TMatrixT<float>& source)
                      TMatrixT<float>& operator-=(const TMatrixTSym<float>& source)
                      TMatrixT<float>& operator*=(const TMatrixT<float>& source)
                      TMatrixT<float>& operator*=(const TMatrixTSym<float>& source)
                      TMatrixT<float>& operator*=(const TMatrixTDiag_const<float>& diag)
                      TMatrixT<float>& operator/=(const TMatrixTDiag_const<float>& diag)
                      TMatrixT<float>& operator*=(const TMatrixTRow_const<float>& row)
                      TMatrixT<float>& operator/=(const TMatrixTRow_const<float>& row)
                      TMatrixT<float>& operator*=(const TMatrixTColumn_const<float>& col)
                      TMatrixT<float>& operator/=(const TMatrixTColumn_const<float>& col)
                 const TMatrixT<float> EigenVectors(TVectorT<float>& eigenValues) const
                               TClass* Class()
                               TClass* IsA() const
                                  void ShowMembers(TMemberInspector& insp, char* parent)
                                  void Streamer(TBuffer& b)
                                  void StreamerNVirtual(TBuffer& b)
                       TMatrixT<float> TMatrixT(const TMatrixT<double>& another)


Last update: root/matrix:$Name: $:$Id: TMatrixT.cxx,v 1.6 2006/01/25 18:49:03 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.