ROOT 6.13/01 Reference Guide |
Definition at line 18 of file TFoamVect.h.
Public Member Functions | |
TFoamVect () | |
Default constructor for streamer. More... | |
TFoamVect (Int_t) | |
User constructor creating n-dimensional vector and allocating dynamically array of components. More... | |
TFoamVect (const TFoamVect &) | |
Copy constructor. More... | |
virtual | ~TFoamVect () |
Destructor. More... | |
Double_t | GetCoord (Int_t i) const |
Int_t | GetDim () const |
TFoamVect & | operator*= (const Double_t &) |
unary multiplication operator *= More... | |
TFoamVect | operator+ (const TFoamVect &) |
addition operator +; sum of 2 vectors: c=a+b, a=a+b, NEVER USE IT, VERY SLOW!!! More... | |
TFoamVect & | operator+= (const TFoamVect &) |
unary addition operator +=; adding vector c*=x, More... | |
TFoamVect | operator- (const TFoamVect &) |
subtraction operator -; difference of 2 vectors; c=a-b, a=a-b, NEVER USE IT, VERY SLOW!!! More... | |
TFoamVect & | operator-= (const TFoamVect &) |
unary subtraction operator -= More... | |
TFoamVect & | operator= (const TFoamVect &) |
substitution operator More... | |
TFoamVect & | operator= (Double_t []) |
Loading in ordinary double prec. vector, sometimes can be useful. More... | |
TFoamVect & | operator= (Double_t) |
Loading in double prec. number, sometimes can be useful. More... | |
Double_t & | operator[] (Int_t) |
[] is for access to elements as in ordinary matrix like a[j]=bj Range protection is built in, consequently for substitution one should use rather use a=b than explicit loop! More... | |
void | Print (Option_t *option) const |
Printout of all vector components on "std::cout". More... | |
Private Attributes | |
Double_t * | fCoords |
Int_t | fDim |
#include <TFoamVect.h>
TFoamVect::TFoamVect | ( | ) |
Default constructor for streamer.
Definition at line 21 of file TFoamVect.cxx.
TFoamVect::TFoamVect | ( | Int_t | n | ) |
User constructor creating n-dimensional vector and allocating dynamically array of components.
Definition at line 31 of file TFoamVect.cxx.
TFoamVect::TFoamVect | ( | const TFoamVect & | Vect | ) |
Copy constructor.
Definition at line 50 of file TFoamVect.cxx.
|
virtual |
Destructor.
Definition at line 69 of file TFoamVect.cxx.
|
inline |
Definition at line 43 of file TFoamVect.h.
|
inline |
Definition at line 42 of file TFoamVect.h.
TFoamVect & TFoamVect::operator*= | ( | const Double_t & | x | ) |
unary multiplication operator *=
Definition at line 118 of file TFoamVect.cxx.
addition operator +; sum of 2 vectors: c=a+b, a=a+b, NEVER USE IT, VERY SLOW!!!
Definition at line 155 of file TFoamVect.cxx.
unary addition operator +=; adding vector c*=x,
Definition at line 128 of file TFoamVect.cxx.
subtraction operator -; difference of 2 vectors; c=a-b, a=a-b, NEVER USE IT, VERY SLOW!!!
Definition at line 167 of file TFoamVect.cxx.
unary subtraction operator -=
Definition at line 141 of file TFoamVect.cxx.
substitution operator
Definition at line 84 of file TFoamVect.cxx.
TFoamVect & TFoamVect::operator= | ( | Double_t | Vect[] | ) |
Loading in ordinary double prec. vector, sometimes can be useful.
Definition at line 178 of file TFoamVect.cxx.
TFoamVect & TFoamVect::operator= | ( | Double_t | x | ) |
Loading in double prec. number, sometimes can be useful.
Definition at line 189 of file TFoamVect.cxx.
Double_t & TFoamVect::operator[] | ( | Int_t | n | ) |
[] is for access to elements as in ordinary matrix like a[j]=bj Range protection is built in, consequently for substitution one should use rather use a=b than explicit loop!
Definition at line 107 of file TFoamVect.cxx.
void TFoamVect::Print | ( | Option_t * | option | ) | const |
Printout of all vector components on "std::cout".
Definition at line 204 of file TFoamVect.cxx.
|
private |
Definition at line 22 of file TFoamVect.h.
|
private |
Definition at line 21 of file TFoamVect.h.