English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TGeneralizedNormalDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TGeneralizedNormalDistribution.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
60#ifndef TGENERALIZEDNORMALDISTRIBUTION_H
61#define TGENERALIZEDNORMALDISTRIBUTION_H
62
63//Uranie
64#include "TStochAttribut.h"
65
66namespace URANIE
67{
68namespace DataServer
69{
71{
72private:
73 Double_t _dparameterMu;
75 Double_t _dparameterBeta;
76
77public:
78 //---------------------------------------------
82
87
89
95
97
103 TGeneralizedNormalDistribution(TString name, Double_t mu, Double_t alpha, Double_t beta);
104
106
116 Double_t alpha, Double_t beta);
117
121
127
131 virtual void setParameterMu(Double_t mu, Bool_t recompute = kTRUE);
132
134 Double_t getParameterMu()
135 {
136 return _dparameterMu;
137 }
138
140
146 virtual void setParameterAlpha(Double_t alpha, Bool_t recompute = kTRUE);
147
150 {
151 return _dparameterAlpha;
152 }
153
155
161 virtual void setParameterBeta(Double_t beta, Bool_t recompute = kTRUE);
162
165 {
166 return _dparameterBeta;
167 }
168
170
176 virtual void setParameters(Double_t mu, Double_t alpha, Double_t beta, Bool_t recompute =
177 kTRUE);
179
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
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TGeneralizedNormalDistribution.
Definition TGeneralizedNormalDistribution.h:71
TGeneralizedNormalDistribution(URANIE::DataServer::TAttribute *att, Double_t mu, Double_t alpha, Double_t beta)
Construction of a TGeneralizedNormalDistribution from an existing TAttribute object.
TGeneralizedNormalDistribution(TString name, Double_t mu, Double_t alpha, Double_t beta)
Constructor setting name, scale and location.
Double_t _dparameterAlpha
Scale parameter .
Definition TGeneralizedNormalDistribution.h:74
virtual void printLog(Option_t *option="")
virtual ~TGeneralizedNormalDistribution()
Default destructor.
Double_t getParameterMu()
Return the rate parameter.
Definition TGeneralizedNormalDistribution.h:134
virtual void setParameterMu(Double_t mu, Bool_t recompute=kTRUE)
Set the mean parameter.
virtual void setParameterAlpha(Double_t alpha, Bool_t recompute=kTRUE)
Set the scale parameter.
TGeneralizedNormalDistribution(TString name)
Constructor setting the name.
virtual void setParameters(Double_t mu, Double_t alpha, Double_t beta, Bool_t recompute=kTRUE)
Set all the parameters.
Double_t getParameterBeta()
Return the shape parameter.
Definition TGeneralizedNormalDistribution.h:164
virtual void setParameterBeta(Double_t beta, Bool_t recompute=kTRUE)
Set the shape parameter.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
Double_t _dparameterMu
Mean parameter .
Definition TGeneralizedNormalDistribution.h:73
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
Double_t getParameterAlpha()
Return the scale parameter.
Definition TGeneralizedNormalDistribution.h:149
Double_t _dparameterBeta
Shape parameter .
Definition TGeneralizedNormalDistribution.h:75
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Definition TStochAttribut.h:370
ROOT.
Definition TAttribute.h:106