English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Sampler: TSobolSequence.h Source File
Uranie / Sampler v4.9.0
/* @license-end */
TSobolSequence.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2024 CEA/DES
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as published
6// by the Free Software Foundation, either version 3 of the License, or any
7// later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
17// TSobolSequence Wed Jul 26 20:20:06 CEST 2006
19// $Id$
20// $Author$
21// $Date$
22// $Revision$
23// $State$
25
53#ifndef TSOBOLSEQUENCE_H
54#define TSOBOLSEQUENCE_H
55#include "TSequence.h"
56
57#ifndef ROOT_TMatrixD
58#include "TMatrixD.h"
59#endif
60#ifndef ROOT_TVectorD
61#include "TVectorD.h"
62#endif
63
64#include <iostream>
65using std::cout;
66using std::endl;
67
68/* maximum allowed space dimension */
69#define SOBOL_MAX_DIMENSION 40
70
71/* bit count; assumes sizeof(int) >= 32-bit */
72#define SOBOL_BIT_COUNT 30
73
74namespace URANIE
75{
76namespace Sampler
77{
79{
80
81 // Attributes
82private:
83 TMatrixD v_direction;
86 Int_t _nCounter;
87
88 // Operations
89public:
90 //---------------------------------------------
94
95 TSobolSequence(ULong_t ndim);
97 virtual ~TSobolSequence();
99
100 void setInstance(const ULong_t n);
101 void init();
102
103 //---------------------------------------------
107
108 virtual void printLog(Option_t *option = "");
110
111 ClassDef(URANIE::Sampler::TSobolSequence, ID_SAMPLER)
112 //Classe de
113};
114
115} // Fin du namespace Sampler
116} // Fin du namespace URANIE
117#endif
118// fin du fichier $RCSfile$.
Description of a sequence (qMC)
Definition TSequence.h:46
Description of the class TSobolSequence.
Definition TSobolSequence.h:79
void setInstance(const ULong_t n)
Int_t _nCounter
Definition TSobolSequence.h:86
TMatrixD v_direction
Definition TSobolSequence.h:83
TSobolSequence(ULong_t ndim)
Default constructor.
virtual ~TSobolSequence()
Default destructor.
TVectorD _last_numerator_vec
Matrix of directions.
Definition TSobolSequence.h:84
Double_t _last_denominator_inv
Vector.
Definition TSobolSequence.h:85
virtual void printLog(Option_t *option="")
Prints the log.
Definition TAMHCopula.h:60