English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TGumbelDistribution.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TGumbelDistribution.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 
41 #ifndef TGUMBELDISTRIBUTION_H
42 #define TGUMBELDISTRIBUTION_H
43 
44 //Uranie
45 #include "TStochAttribut.h"
46 
47 namespace URANIE
48 {
49 namespace DataServer
50 {
52 {
53 private:
54 protected:
55  Double_t dscale; // Gumbel distribution scale (strictly positive)
56 public:
57  //---------------------------------------------
63 
65 
69  TGumbelDistribution(TString name);
70 
72 
78  TGumbelDistribution(TString name, Double_t mu, Double_t beta);
79 
81 
88  Double_t beta);
89 
91  virtual ~TGumbelDistribution();
93  //---------------------------------------------
98  virtual void setLocation(Double_t mu);
101  virtual void setScale(Double_t beta);
103  virtual Double_t getLocation();
105  virtual Double_t getScale();
107 
111  virtual void computeMean();
114  virtual Double_t getPDF(Double_t x);
116  virtual Double_t getInvCDF(Double_t x);
118 
119  //---------------------------------------------
123  virtual void printLog(Option_t *option = "");
125 
126  ClassDef(URANIE::DataServer::TGumbelDistribution, ID_DATASERVER)
127  //Classe de
128 };
129 } // Fin du namespace DataServer
130 } // Fin du namespace URANIE
131 #endif
ROOT.
Definition: TAttribute.h:104
TGumbelDistribution()
Default constructor.
Description of the class TGumbelDistribution.
Definition: TGumbelDistribution.h:51
virtual Double_t getInvCDF(Double_t x)
Returns the inverse cumulative Density Function.
virtual void setScale(Double_t beta)
Sets the scale.
virtual Double_t getLocation()
Gets the location.
virtual void setLocation(Double_t mu)
Sets the location.
Definition: TStochAttribut.h:369
virtual void computeMean()
Computes the mean.
virtual ~TGumbelDistribution()
Default destructor.
Double_t dscale
Definition: TGumbelDistribution.h:55
Class of attributes following a probability density function.
virtual Double_t getScale()
Gets the scale.
Description of a variable (field).
Definition: TAttribute.h:136
virtual void printLog()
Display information specific to this class.
virtual Double_t getPDF(Double_t x)
Gives the PDF at a value.