English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Modeler: TMaternIICorrFunction.h Source File
Uranie / Modeler v4.9.0
/* @license-end */
TMaternIICorrFunction.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
41#ifndef TMATERNIICORRFUNCTION_H
42#define TMATERNIICORRFUNCTION_H
43
46
47extern "C"
48{
49int gpCorMaternII(double *X1, double *X2, int n1, int n2, int d, double *lc,
50 double nu, double *C);
51}
52;
53namespace URANIE
54{
55namespace Modeler
56{
58{
59
60 // Attributes
61private:
62public:
63 Double_t _dNu;
64
65 // Operations
66public:
67 //---------------------------------------------
71
79 TMaternIICorrFunction(Int_t nbDim, Double_t nu = 1.5, Double_t* corrLength = NULL);
80
84
85 //---------------------------------------------
89
90 Double_t getParameterNu()
91 {
92 return _dNu;
93 }
94
96
104 virtual void setParameters(Double_t* newParams);
105
107
110 void setParameterNu(Double_t nu);
111
113
118 void setCorrLengths(Double_t *corrLength);
120
121 //---------------------------------------------
125
130
132
158 virtual void eval(Int_t n1, Double_t* x1, Int_t n2, Double_t* x2,
159 Double_t* C);
160
162
163 //---------------------------------------------
167 virtual void printLog(Option_t *option = "");
169
170 ClassDef(URANIE::Modeler::TMaternIICorrFunction, ID_MODELER)
171};
172
173} // Fin du namespace Modeler
174} // Fin du namespace URANIE
175#endif
Interface de la classe URANIE::Modeler::TCorrelationFunction.
int gpCorMaternII(double *X1, double *X2, int n1, int n2, int d, double *lc, double nu, double *C)
Description of the class TCorrelationFunction.
Definition TCorrelationFunction.h:53
Description of the class TMaternIICorrFunction.
Definition TMaternIICorrFunction.h:58
virtual ~TMaternIICorrFunction()
Default destructor.
TMaternIICorrFunction(Int_t nbDim, Double_t nu=1.5, Double_t *corrLength=NULL)
Default constructor.
virtual void printLog(Option_t *option="")
Double_t getParameterNu()
Returns the regularity coefficients .
Definition TMaternIICorrFunction.h:90
void setParameterNu(Double_t nu)
Sets the correlation length parameter.
Double_t _dNu
regularity coefficient
Definition TMaternIICorrFunction.h:63
virtual void setParameters(Double_t *newParams)
Sets the parameters of the MaternII correlation function.
void setCorrLengths(Double_t *corrLength)
Sets the correlation length parameter.
virtual TCorrelationFunction * clone()
Return a clone of the correlation function.
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.
ROOT.
Definition TAnisp.h:164