library: libFoam #include "TFoamVect.h" |
TFoamVect
class description - header file - source file - inheritance tree (.pdf)
public:
TFoamVect()
TFoamVect(Int_t)
TFoamVect(const TFoamVect&)
TFoamVect operator+(const TFoamVect&)
TFoamVect operator-(const TFoamVect&)
virtual ~TFoamVect()
static TClass* Class()
Double_t GetCoord(Int_t i) const
Int_t GetDim() const
virtual TClass* IsA() const
TFoamVect& operator*=(const Double_t&)
TFoamVect& operator+=(const TFoamVect&)
TFoamVect& operator-=(const TFoamVect&)
TFoamVect& operator=(const TFoamVect&)
TFoamVect& operator=(Double_t*)
TFoamVect& operator=(Double_t)
Double_t& operator[](Int_t)
virtual void Print(Option_t* option) const
void PrintList()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t fDim Dimension
Double_t* fCoords [fDim] Coordinates
TFoamVect* fNext pointer for tree construction
TFoamVect* fPrev pointer for tree construction
_____________________________________________________________________________
Auxiliary class TFoamVect of n-dimensional vector, with dynamic allocation
used for the cartesian geometry of the TFoam cells
_____________________________________________________________________________
TFoamVect(Int_t n)
User constructor creating n-dimensional vector
and allocating dynamically array of components
Double_t & operator[](Int_t n)
[] is for access to elements as in ordinary matrix like a[j]=b[j]
(Perhaps against some strict rules but rather practical.)
Range protection is built in, consequently for substitution
one should use rather use a=b than explicit loop!
void Print(Option_t *option)
Printout of all vector components on "cout"
void PrintList(void)
Printout of all member vectors in the list starting from "this"
Author: S. Jadach, P.Sawicki
Last update: root/foam:$Name: $:$Id: TFoamVect.cxx,v 1.12 2006/05/26 15:13:01 rdm Exp $
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.