Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Volume Class Reference

Volume for BinarySearchTree.

volume element: variable space between upper and lower bonds of nvar-dimensional variable space

Definition at line 47 of file Volume.h.

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
 
Volumeoperator= (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 & Destructor Documentation

◆ Volume() [1/7]

TMVA::Volume::Volume ( std::vector< Float_t > *  l,
std::vector< Float_t > *  u = nullptr 
)

constructor specifying the volume by std::vectors of floats

Definition at line 56 of file Volume.cxx.

◆ Volume() [2/7]

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.

◆ Volume() [3/7]

TMVA::Volume::Volume ( Volume V)

copy constructor

Definition at line 125 of file Volume.cxx.

◆ Volume() [4/7]

TMVA::Volume::Volume ( Float_t l,
Float_t u,
Int_t  nvar 
)

constructor specifying the volume by c-style arrays of floats

Definition at line 86 of file Volume.cxx.

◆ Volume() [5/7]

TMVA::Volume::Volume ( Double_t l,
Double_t u,
Int_t  nvar 
)

constructor specifying the volume by c-style arrays of doubles

Definition at line 71 of file Volume.cxx.

◆ Volume() [6/7]

TMVA::Volume::Volume ( Float_t  l,
Float_t  u 
)

simple constructors for 1 dimensional values (float)

Definition at line 113 of file Volume.cxx.

◆ Volume() [7/7]

TMVA::Volume::Volume ( Double_t  l,
Double_t  u 
)

simple constructors for 1 dimensional values (double)

Definition at line 101 of file Volume.cxx.

◆ ~Volume()

TMVA::Volume::~Volume ( void  )
virtual

destructor

Definition at line 153 of file Volume.cxx.

Member Function Documentation

◆ Delete()

void TMVA::Volume::Delete ( void  )

delete array of volume bondaries

Definition at line 162 of file Volume.cxx.

◆ operator=()

TMVA::Volume & TMVA::Volume::operator= ( const Volume V)

assignment operator

Definition at line 135 of file Volume.cxx.

◆ Print()

void TMVA::Volume::Print ( void  ) const

printout of the volume boundaries

Definition at line 193 of file Volume.cxx.

◆ Scale()

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.

◆ ScaleInterval()

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.

Member Data Documentation

◆ fLower

std::vector<Double_t>* TMVA::Volume::fLower

vector with lower volume dimensions

Definition at line 75 of file Volume.h.

◆ fOwnerShip

Bool_t TMVA::Volume::fOwnerShip
private

flag if "boundary vector" is owned by the volume of not

Definition at line 80 of file Volume.h.

◆ fUpper

std::vector<Double_t>* TMVA::Volume::fUpper

vector with upper volume dimensions

Definition at line 76 of file Volume.h.

Libraries for TMVA::Volume:

The documentation for this class was generated from the following files: