Logo ROOT  
Reference Guide
TMVA::Volume Class Reference

Volume for BinarySearchTree.

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

Definition at line 48 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 More...
 
 Volume (Double_t l, Double_t u)
 simple constructors for 1 dimensional values (double) More...
 
 Volume (Float_t *l, Float_t *u, Int_t nvar)
 constructor specifying the volume by c-style arrays of floats More...
 
 Volume (Float_t l, Float_t u)
 simple constructors for 1 dimensional values (float) More...
 
 Volume (std::vector< Double_t > *l=0, std::vector< Double_t > *u=0)
 constructor specifying the volume by std::vectors of doubles More...
 
 Volume (std::vector< Float_t > *l, std::vector< Float_t > *u=0)
 constructor specifying the volume by std::vectors of floats More...
 
 Volume (Volume &)
 copy constructor More...
 
virtual ~Volume (void)
 destructor More...
 
void Delete (void)
 delete array of volume bondaries More...
 
Volumeoperator= (const Volume &)
 assignment operator More...
 
void Print (void) const
 printout of the volume boundaries More...
 
void Scale (Double_t f)
 "scale" the volume by multiplying each upper and lower boundary by "f" More...
 
void ScaleInterval (Double_t f)
 "scale" the volume by symmetrically blowing up the interval in each dimension More...
 

Public Attributes

std::vector< Double_t > * fLower
 
std::vector< Double_t > * fUpper
 

Private Attributes

Bool_t fOwnerShip
 

#include <TMVA/Volume.h>

Constructor & Destructor Documentation

◆ Volume() [1/7]

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

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 = 0,
std::vector< Double_t > *  u = 0 
)

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

Definition at line 76 of file Volume.h.

◆ fOwnerShip

Bool_t TMVA::Volume::fOwnerShip
private

Definition at line 81 of file Volume.h.

◆ fUpper

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

Definition at line 77 of file Volume.h.

Libraries for TMVA::Volume:
[legend]

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