41 void Print(Option_t *option)
const;
43 Double_t
GetCoord(Int_t i)
const {
return fCoords[i];};
virtual ~TFoamVect()
Destructor.
Double_t & operator[](Int_t)
[] is for access to elements as in ordinary matrix like a[j]=bj Range protection is built in...
TFoamVect operator-(const TFoamVect &)
subtraction operator -; difference of 2 vectors; c=a-b, a=a-b, NEVER USE IT, VERY SLOW!!! ...
TFoamVect & operator=(const TFoamVect &)
substitution operator
TFoamVect & operator-=(const TFoamVect &)
unary subtraction operator -=
TFoamVect & operator+=(const TFoamVect &)
unary addition operator +=; adding vector c*=x,
TFoamVect & operator*=(const Double_t &)
unary multiplication operator *=
TFoamVect()
Default constructor for streamer.
void Print(Option_t *option) const
Printout of all vector components on "std::cout".
Double_t GetCoord(Int_t i) const
TFoamVect operator+(const TFoamVect &)
addition operator +; sum of 2 vectors: c=a+b, a=a+b, NEVER USE IT, VERY SLOW!!!