English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Modeler: TExponentialCorrFunction.h Source File
Uranie / Modeler v4.9.0
/* @license-end */
TExponentialCorrFunction.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
44#ifndef TEXPONENTIALCORRFUNCTION_H
45#define TEXPONENTIALCORRFUNCTION_H
46
49
50extern "C"
51{
52int gpCorExponential(double *X1, double *X2, int n1, int n2, int d, double *lc,
53 double *po, double *C);
54}
55;
56namespace URANIE
57{
58namespace Modeler
59{
61{
62
63 // Attributes
64private:
65public:
66 Double_t* _lPower;
67
68 // Operations
69public:
70 //---------------------------------------------
74
83 TExponentialCorrFunction(Int_t nbDim, Double_t* p = NULL, Double_t* corrLength = NULL);
84
88
89 //---------------------------------------------
93 Double_t* getPower()
94 {
95 return _lPower;
96 }
97
99
107 virtual void setParameters(Double_t* newParams);
108
110
115 void setPower(Double_t* p);
116
118
123 void setCorrLengths(Double_t *corrLength);
125
126 //---------------------------------------------
130
135
136
138
164 virtual void eval(Int_t n1, Double_t* x1, Int_t n2, Double_t* x2, Double_t* C);
165
167
168 //---------------------------------------------
172 virtual void printLog(Option_t *option = "");
174
176};
177
178} // Fin du namespace Modeler
179} // Fin du namespace URANIE
180#endif
Interface de la classe URANIE::Modeler::TCorrelationFunction.
int gpCorExponential(double *X1, double *X2, int n1, int n2, int d, double *lc, double *po, double *C)
Description of the class TCorrelationFunction.
Definition TCorrelationFunction.h:53
Description of the class TExponentialCorrFunction.
Definition TExponentialCorrFunction.h:61
void setPower(Double_t *p)
Sets the power parameter.
TExponentialCorrFunction(Int_t nbDim, Double_t *p=NULL, Double_t *corrLength=NULL)
Default constructor.
Double_t * getPower()
Definition TExponentialCorrFunction.h:93
virtual ~TExponentialCorrFunction()
Default destructor.
virtual void printLog(Option_t *option="")
Double_t * _lPower
array of power coefficients
Definition TExponentialCorrFunction.h:66
virtual void setParameters(Double_t *newParams)
Sets the parameters of the exponential correlation function.
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.
void setCorrLengths(Double_t *corrLength)
Sets the correlation lengths.
ROOT.
Definition TAnisp.h:164