English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TGeneralizedNormalV2Distribution.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TGeneralizedNormalV2Distribution.h
Go to the documentation of this file.
1 // 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 
60 #ifndef TGENERALIZEDNORMALV2DISTRIBUTION_H
61 #define TGENERALIZEDNORMALV2DISTRIBUTION_H
62 
63 //Uranie
64 #include "TStochAttribut.h"
65 
66 namespace URANIE
67 {
68 namespace DataServer
69 {
71 {
72 private:
73  Double_t _dparameterXi;
74  Double_t _dparameterAlpha;
75  Double_t _dparameterKappa;
76 
77 public:
78  //---------------------------------------------
82 
87 
89 
95 
97 
103  TGeneralizedNormalV2Distribution(TString name, Double_t xi, Double_t alpha, Double_t kappa);
104 
106 
116  Double_t alpha, Double_t kappa);
117 
121 
126 
131  virtual void setParameterXi(Double_t xi, Bool_t recompute = kTRUE);
132 
134  Double_t getParameterXi()
135  {
136  return _dparameterXi;
137  }
138 
140 
146  virtual void setParameterAlpha(Double_t alpha, Bool_t recompute = kTRUE);
147 
149  Double_t getParameterAlpha()
150  {
151  return _dparameterAlpha;
152  }
153 
155 
161  virtual void setParameterKappa(Double_t kappa, Bool_t recompute = kTRUE);
162 
164  Double_t getParameterKappa()
165  {
166  return _dparameterKappa;
167  }
168 
170 
176  virtual void setParameters(Double_t xi, Double_t alpha, Double_t kappa, Bool_t recompute =
177  kTRUE);
179 
184  virtual void computeTheoreticalInformation();
186 
188 
191  virtual Double_t getPDF(Double_t x);
192 
194 
197  virtual Double_t getCDF(Double_t x);
198 
200 
207  virtual Double_t getInvCDF(Double_t p);
209 
210  //---------------------------------------------
214  virtual void printLog(Option_t *option = "");
216 
218  //Classe de
219 };
220 
221 } // Fin du namespace DataServer
222 } // Fin du namespace URANIE
223 #endif
ROOT.
Definition: TAttribute.h:104
virtual void setParameters(Double_t xi, Double_t alpha, Double_t kappa, Bool_t recompute=kTRUE)
Set all the parameters.
Double_t _dparameterAlpha
Scale parameter .
Definition: TGeneralizedNormalV2Distribution.h:74
virtual ~TGeneralizedNormalV2Distribution()
Default destructor.
Double_t getParameterXi()
Return the rate parameter.
Definition: TGeneralizedNormalV2Distribution.h:134
Double_t _dparameterKappa
Shape parameter .
Definition: TGeneralizedNormalV2Distribution.h:75
virtual void setParameterKappa(Double_t kappa, Bool_t recompute=kTRUE)
Set the shape parameter.
virtual void setParameterXi(Double_t xi, Bool_t recompute=kTRUE)
Set the mean parameter.
Double_t _dparameterXi
Position parameter .
Definition: TGeneralizedNormalV2Distribution.h:73
Definition: TStochAttribut.h:369
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Class of attributes following a probability density function.
Double_t getParameterAlpha()
Return the scale parameter.
Definition: TGeneralizedNormalV2Distribution.h:149
virtual void setParameterAlpha(Double_t alpha, Bool_t recompute=kTRUE)
Set the scale parameter.
Double_t getParameterKappa()
Return the shape parameter.
Definition: TGeneralizedNormalV2Distribution.h:164
Description of a variable (field).
Definition: TAttribute.h:136
Description of the class TGeneralizedNormalV2Distribution.
Definition: TGeneralizedNormalV2Distribution.h:70
virtual void printLog()
Display information specific to this class.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.