Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Sampler v4.9.0
|
URANIE::Sampler::THaltonSequence Class Reference
Description of the class THaltonSequence. More...
#include <THaltonSequence.h>
Inheritance diagram for URANIE::Sampler::THaltonSequence:
Collaboration diagram for URANIE::Sampler::THaltonSequence:
Public Member Functions | |
Constructor and Destructor | |
The first n prime numbers for the base | |
THaltonSequence (ULong_t ndim) | |
Default constructor. | |
virtual | ~THaltonSequence () |
Default destructor. | |
void | FirstPrimes (const ULong_t n) |
Abstract method | |
void | setInstance (const ULong_t n) |
void | init () |
Printing Log | |
virtual void | printLog (Option_t *option="") |
Public Member Functions inherited from URANIE::Sampler::TSequence | |
TSequence () | |
Default constructor. | |
TSequence (ULong_t ndim) | |
Default constructor. | |
virtual | ~TSequence () |
Default destructor. | |
Double_t | operator[] (const ULong_t) const |
Double_t | getComponent (const ULong_t) const |
void | setLog () |
void | unsetLog () |
Sets the static variable _blog at kFALSE. | |
Private Attributes | |
Double_t * | Radical |
Int_t * | Base |
Radical. | |
Additional Inherited Members | |
Public Attributes inherited from URANIE::Sampler::TSequence | |
ULong_t | _nDim |
The size of the sequence. | |
Double_t * | _dValue |
Static Public Attributes inherited from URANIE::Sampler::TSequence | |
static Int_t | _seqCounter |
The counter of sequence. | |
static Bool_t | _blog |
Log Printing. | |
Detailed Description
Description of the class THaltonSequence.
Description
(source Numerical Recipes - Chapter 7-7 page 309)
- In one dimension, the jth number in the sequence is obtained by the followings steps :
- Write as a number in base , where is some prime. For example, in base is 122.
- Reverse the digits and put a radix point (i.e. a decimal point base ) in front of the sequence. In our example, we get 0.221 base 3. It is the result .
- To get a sequence of n-tuples in n-space, you make each component a Halton sequence with a different prime base . Typically, we can use the n primes.
Implementation
The code original is in the library seq_beta_04.21.01 de Duchemol and co
Constructor & Destructor Documentation
◆ THaltonSequence()
URANIE::Sampler::THaltonSequence::THaltonSequence | ( | ULong_t | ndim | ) |
Default constructor.
Referenced by ClassImp().
◆ ~THaltonSequence()
|
virtual |
Default destructor.
Referenced by ClassImp().
Member Function Documentation
◆ FirstPrimes()
void URANIE::Sampler::THaltonSequence::FirstPrimes | ( | const ULong_t | n | ) |
Referenced by ClassImp().
◆ init()
|
virtual |
Implements URANIE::Sampler::TSequence.
Referenced by ClassImp().
◆ printLog()
|
virtual |
Reimplemented from URANIE::Sampler::TSequence.
Referenced by ClassImp().
◆ setInstance()
|
virtual |
Implements URANIE::Sampler::TSequence.
Referenced by ClassImp().
Member Data Documentation
◆ Base
|
private |
Radical.
Referenced by ClassImp().
◆ Radical
|
private |
Referenced by ClassImp().