English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Modeler: TMaternICorrFunction.h Source File
Uranie / Modeler v4.9.0
/* @license-end */
TMaternICorrFunction.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
42#ifndef TMATERNICORRFUNCTION_H
43#define TMATERNICORRFUNCTION_H
44
47
48extern "C"
49{
50int gpCorMaternI(double *X1, double *X2, int n1, int n2, int d, double *lc,
51 double *nu, double *C);
52}
53;
54namespace URANIE
55{
56namespace Modeler
57{
59{
60
61 // Attributes
62private:
63public:
64 Double_t* _lNu;
65
66 // Operations
67public:
68 //---------------------------------------------
72
82 TMaternICorrFunction(Int_t nbDim, Double_t* nu = NULL, Double_t* corrLength = NULL);
83
87
88 //---------------------------------------------
92
93 Double_t* getParameterNu()
94 {
95 return _lNu;
96 }
97
99
107 virtual void setParameters(Double_t* newParams);
108
110
115 void setParameterNu(Double_t* nu);
116
118
123 void setCorrLengths(Double_t *corrLength);
125
126 //---------------------------------------------
130
135
137
163 virtual void eval(Int_t n1, Double_t* x1, Int_t n2, Double_t* x2, Double_t* C);
164
166
167 //---------------------------------------------
171 virtual void printLog(Option_t *option = "");
173
174 ClassDef(URANIE::Modeler::TMaternICorrFunction, ID_MODELER)
175};
176
177} // Fin du namespace Modeler
178} // Fin du namespace URANIE
179#endif
Interface de la classe URANIE::Modeler::TCorrelationFunction.
int gpCorMaternI(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 TMaternICorrFunction.
Definition TMaternICorrFunction.h:59
TMaternICorrFunction(Int_t nbDim, Double_t *nu=NULL, Double_t *corrLength=NULL)
Default constructor.
Double_t * _lNu
array of regularity coefficients
Definition TMaternICorrFunction.h:64
void setParameterNu(Double_t *nu)
Sets the correlation length parameter.
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 ~TMaternICorrFunction()
Default destructor.
Double_t * getParameterNu()
Returns the array of regularity coefficients .
Definition TMaternICorrFunction.h:93
virtual TCorrelationFunction * clone()
Return a clone of the correlation function.
virtual void setParameters(Double_t *newParams)
Sets the parameters of the MaternI correlation function.
void setCorrLengths(Double_t *corrLength)
Sets the correlation length parameter.
virtual void printLog(Option_t *option="")
ROOT.
Definition TAnisp.h:164