English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TExponentialDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TExponentialDistribution.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
57#ifndef TEXPONENTIALDISTRIBUTION_H
58#define TEXPONENTIALDISTRIBUTION_H
59
60//Uranie
61#include "TStochAttribut.h"
62
63namespace URANIE
64{
65namespace DataServer
66{
68{
69 // Attributes
70private:
72 Double_t _dparameterMode;
73
74public:
75 //---------------------------------------------
79
84
86
92
94
99 TExponentialDistribution(TString name, Double_t lambda,
100 Double_t mode = 0.0);
101
103
112 Double_t lambda, Double_t mode = 0.0);
113
116
118
124
130 virtual void setParameterLambda(Double_t lambda, Bool_t recompute = kTRUE);
131
134 {
135 return _dparameterLambda;
136 }
137
139
146 virtual void setParameterMode(Double_t mode, Bool_t recompute = kTRUE);
147
150 {
151 return _dparameterMode;
152 }
153
155
160 virtual void setParameters(Double_t lambda, Double_t mode = 0.0,
161 Bool_t recompute = kTRUE);
163
170
172
175 virtual Double_t getPDF(Double_t x);
176
178
181 virtual Double_t getCDF(Double_t x);
182
184
189 virtual Double_t getInvCDF(Double_t p);
191
192 //---------------------------------------------
196 virtual void printLog(Option_t *option = "");
198
199 ClassDef(URANIE::DataServer::TExponentialDistribution, ID_DATASERVER)
200 //Classe de
201};
202
203} // Fin du namespace DataServer
204} // Fin du namespace URANIE
205#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TExponentialDistribution.
Definition TExponentialDistribution.h:68
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
virtual void setParameterMode(Double_t mode, Bool_t recompute=kTRUE)
Set the mode parameter.
TExponentialDistribution(URANIE::DataServer::TAttribute *att, Double_t lambda, Double_t mode=0.0)
Construction of a TExponentialDistribution from an existing TAttribute object.
TExponentialDistribution(TString name, Double_t lambda, Double_t mode=0.0)
Constructor setting name, scale and location.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
TExponentialDistribution(TString name)
Constructor setting the name.
Double_t getParameterLambda()
Return the rate parameter.
Definition TExponentialDistribution.h:133
Double_t _dparameterMode
the mode parameter
Definition TExponentialDistribution.h:72
Double_t _dparameterLambda
the rate parameter
Definition TExponentialDistribution.h:71
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
virtual ~TExponentialDistribution()
Default destructor.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual void setParameters(Double_t lambda, Double_t mode=0.0, Bool_t recompute=kTRUE)
Set all the parameters.
virtual void printLog(Option_t *option="")
virtual void setParameterLambda(Double_t lambda, Bool_t recompute=kTRUE)
Set the rate parameter.
Double_t getParameterMode()
Return the mode parameter.
Definition TExponentialDistribution.h:149
Definition TStochAttribut.h:370
ROOT.
Definition TAttribute.h:106