English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TGammaDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TGammaDistribution.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
56#ifndef TGAMMADISTRIBUTION_H
57#define TGAMMADISTRIBUTION_H
58
59//Uranie
60#include "TStochAttribut.h"
61
62namespace URANIE
63{
64namespace DataServer
65{
67{
68 // Attributes
69private:
73
74public:
75 //---------------------------------------------
79
84
86
91 TGammaDistribution(TString name);
92
93
94
96
103 TGammaDistribution(TString name, Double_t alpha, Double_t scale = 1.0, Double_t location = 0.0);
104
106
115 TGammaDistribution(URANIE::DataServer::TAttribute *att, Double_t alpha, Double_t scale = 1.0, Double_t location = 0.0);
116
119
121
122
129 {
130 return _dparameterAlpha;
131 }
132
133
136 {
137 return _dparameterScale;
138 }
139
142 {
143 return _dparameterLocation;
144 }
145
147
152 virtual void setParameters(Double_t alpha, Double_t scale = 1.0, Double_t location=0,
153 Bool_t recompute = kTRUE);
154
156
160 void setParameterAlpha(Double_t alpha, Bool_t recompute = kTRUE);
162
166 void setParameterScale(Double_t scale, Bool_t recompute = kTRUE);
168
173 void setParameterLocation(Double_t location, Bool_t recompute = kTRUE);
175
182
184
187 virtual Double_t getPDF(Double_t x);
188
190
193 virtual Double_t getCDF(Double_t x);
194
196
201 virtual Double_t getInvCDF(Double_t p);
203
204 //---------------------------------------------
208 virtual void printLog(Option_t *option = "");
210
211 ClassDef(URANIE::DataServer::TGammaDistribution, ID_DATASERVER)
212 //Classe de
213};
214
215} // Fin du namespace DataServer
216} // Fin du namespace URANIE
217#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TGammaDistribution.
Definition TGammaDistribution.h:67
void setParameterScale(Double_t scale, Bool_t recompute=kTRUE)
Set scale value.
void setParameterAlpha(Double_t alpha, Bool_t recompute=kTRUE)
Set alpha value.
virtual void printLog(Option_t *option="")
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual void setParameters(Double_t alpha, Double_t scale=1.0, Double_t location=0, Bool_t recompute=kTRUE)
Set all the parameters.
TGammaDistribution(TString name)
Constructor setting the name.
TGammaDistribution()
Default constructor.
void setParameterLocation(Double_t location, Bool_t recompute=kTRUE)
Set location value.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
TGammaDistribution(URANIE::DataServer::TAttribute *att, Double_t alpha, Double_t scale=1.0, Double_t location=0.0)
Construction of a TGammaDistribution from an existing TAttribute object.
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
TGammaDistribution(TString name, Double_t alpha, Double_t scale=1.0, Double_t location=0.0)
Constructor setting name, scale and location.
Double_t _dparameterLocation
the location parameter
Definition TGammaDistribution.h:72
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Double_t _dparameterAlpha
the shape parameter
Definition TGammaDistribution.h:70
Double_t getParameterScale()
Return the scale parameter.
Definition TGammaDistribution.h:135
Double_t _dparameterScale
the scale parameter
Definition TGammaDistribution.h:71
Double_t getParameterAlpha()
Return the shape parameter.
Definition TGammaDistribution.h:128
virtual ~TGammaDistribution()
Default destructor.
Double_t getParameterLocation()
Return the location parameter.
Definition TGammaDistribution.h:141
Definition TStochAttribut.h:370
ROOT.
Definition TAttribute.h:106