English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Modeler: TIsotropicGaussianCorrFunction.h Source File
Uranie / Modeler v4.9.0
/* @license-end */
TIsotropicGaussianCorrFunction.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/>.
18// $Id$
19// $Author$
20// $Date$
21// $Revision$
22// $State$
24
46#ifndef TISOTROPICGAUSSIANCORRFUNCTION_H
47#define TISOTROPICGAUSSIANCORRFUNCTION_H
48
51
52extern "C"
53{
54int gpCorGaussIso(double *X1, double *X2, int n1, int n2, int d, double lc,
55 double *C);
56}
57;
58
59namespace URANIE
60{
61namespace Modeler
62{
64{
65
66 // Attributes
67private:
68public:
69
70 // Operations
71public:
72 //---------------------------------------------
76
81 TIsotropicGaussianCorrFunction(Int_t nbDim, Double_t corrLength = 0.1);
82
86
87 //---------------------------------------------
92 {
93 return _lCorrLengths[0];
94 }
95
97
101 virtual void setParameters(Double_t* newParams)
102 {
103 setCorrelationLength(newParams[0]);
104 }
105
107
113 void setCorrLengths(Double_t *corrLength);
114
116
119 void setCorrelationLength(Double_t corrLength);
120
122
123 //---------------------------------------------
127
132
134
160 virtual void eval(Int_t n1, Double_t* x1, Int_t n2, Double_t* x2,
161 Double_t* C);
162
164
165 //---------------------------------------------
169 virtual void printLog(Option_t *option = "");
171
173 //Classe de
174};
175
176} // Fin du namespace Modeler
177} // Fin du namespace URANIE
178#endif
Interface de la classe URANIE::Modeler::TCorrelationFunction.
int gpCorGaussIso(double *X1, double *X2, int n1, int n2, int d, double lc, double *C)
Description of the class TCorrelationFunction.
Definition TCorrelationFunction.h:53
Double_t * _lCorrLengths
array containing only the correlation lengths.
Definition TCorrelationFunction.h:60
Description of the class TIsotropicGaussianCorrFunction.
Definition TIsotropicGaussianCorrFunction.h:64
virtual void setParameters(Double_t *newParams)
Sets the parameters of the isotropic gaussian correlation function.
Definition TIsotropicGaussianCorrFunction.h:101
virtual ~TIsotropicGaussianCorrFunction()
Default destructor.
Double_t getCorrelationLength()
Definition TIsotropicGaussianCorrFunction.h:91
void setCorrLengths(Double_t *corrLength)
Sets the correlation lengths.
virtual void eval(Int_t n1, Double_t *x1, Int_t n2, Double_t *x2, Double_t *C)
Compute the correlation between x1 and x2.
virtual void printLog(Option_t *option="")
void setCorrelationLength(Double_t corrLength)
Sets the correlation length parameter.
TIsotropicGaussianCorrFunction(Int_t nbDim, Double_t corrLength=0.1)
Standard Constructor.
virtual TCorrelationFunction * clone()
Return a clone of the correlation function.
ROOT.
Definition TAnisp.h:164