Volume for BinarySearchTree.
volume element: variable space between upper and lower bonds of nvar-dimensional variable space
Public Member Functions | |
Volume (Double_t *l, Double_t *u, Int_t nvar) | |
constructor specifying the volume by c-style arrays of doubles | |
Volume (Double_t l, Double_t u) | |
simple constructors for 1 dimensional values (double) | |
Volume (Float_t *l, Float_t *u, Int_t nvar) | |
constructor specifying the volume by c-style arrays of floats | |
Volume (Float_t l, Float_t u) | |
simple constructors for 1 dimensional values (float) | |
Volume (std::vector< Double_t > *l=nullptr, std::vector< Double_t > *u=nullptr) | |
constructor specifying the volume by std::vectors of doubles | |
Volume (std::vector< Float_t > *l, std::vector< Float_t > *u=nullptr) | |
constructor specifying the volume by std::vectors of floats | |
Volume (Volume &) | |
copy constructor | |
virtual | ~Volume (void) |
destructor | |
void | Delete (void) |
delete array of volume bondaries | |
Volume & | operator= (const Volume &) |
assignment operator | |
void | Print (void) const |
printout of the volume boundaries | |
void | Scale (Double_t f) |
"scale" the volume by multiplying each upper and lower boundary by "f" | |
void | ScaleInterval (Double_t f) |
"scale" the volume by symmetrically blowing up the interval in each dimension | |
Public Attributes | |
std::vector< Double_t > * | fLower |
vector with lower volume dimensions | |
std::vector< Double_t > * | fUpper |
vector with upper volume dimensions | |
Private Attributes | |
Bool_t | fOwnerShip |
flag if "boundary vector" is owned by the volume of not | |
#include <TMVA/Volume.h>
constructor specifying the volume by std::vectors of floats
Definition at line 56 of file Volume.cxx.
TMVA::Volume::Volume | ( | std::vector< Double_t > * | l = nullptr , |
std::vector< Double_t > * | u = nullptr |
||
) |
constructor specifying the volume by std::vectors of doubles
Definition at line 47 of file Volume.cxx.
TMVA::Volume::Volume | ( | Volume & | V | ) |
copy constructor
Definition at line 125 of file Volume.cxx.
constructor specifying the volume by c-style arrays of floats
Definition at line 86 of file Volume.cxx.
constructor specifying the volume by c-style arrays of doubles
Definition at line 71 of file Volume.cxx.
simple constructors for 1 dimensional values (float)
Definition at line 113 of file Volume.cxx.
simple constructors for 1 dimensional values (double)
Definition at line 101 of file Volume.cxx.
|
virtual |
destructor
Definition at line 153 of file Volume.cxx.
void TMVA::Volume::Delete | ( | void | ) |
delete array of volume bondaries
Definition at line 162 of file Volume.cxx.
TMVA::Volume & TMVA::Volume::operator= | ( | const Volume & | V | ) |
assignment operator
Definition at line 135 of file Volume.cxx.
void TMVA::Volume::Print | ( | void | ) | const |
printout of the volume boundaries
Definition at line 193 of file Volume.cxx.
void TMVA::Volume::Scale | ( | Double_t | f | ) |
"scale" the volume by multiplying each upper and lower boundary by "f"
Definition at line 171 of file Volume.cxx.
void TMVA::Volume::ScaleInterval | ( | Double_t | f | ) |
"scale" the volume by symmetrically blowing up the interval in each dimension
Definition at line 180 of file Volume.cxx.
std::vector<Double_t>* TMVA::Volume::fLower |
|
private |
std::vector<Double_t>* TMVA::Volume::fUpper |