English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TStudentDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TStudentDistribution.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
53#ifndef TSTUDENTDISTRIBUTION_H
54#define TSTUDENTDISTRIBUTION_H
55
56//Uranie
57#include "TStochAttribut.h"
58
59namespace URANIE
60{
61namespace DataServer
62{
64{
65private:
66 Double_t _dparameterK;
67
68public:
69 //---------------------------------------------
73
78
80
85 TStudentDistribution(TString name);
86
88
92 TStudentDistribution(TString name, Double_t k);
93
95
103
107
114
118 virtual void setParameterK(Double_t k, Bool_t recompute = kTRUE);
119
121 Double_t getParameterK()
122 {
123 return _dparameterK;
124 }
125
127
131 virtual void setParameters(Double_t k, Bool_t recompute =kTRUE);
133
140
142
145 virtual Double_t getPDF(Double_t x);
146
148
151 virtual Double_t getCDF(Double_t x);
152
154
161 virtual Double_t getInvCDF(Double_t p);
163
164 //---------------------------------------------
168 virtual void printLog(Option_t *option = "");
170
175
178 virtual void computeMean()
179 {
180 }
182
183 ClassDef(URANIE::DataServer::TStudentDistribution, ID_DATASERVER)
184 //Classe de
185};
186
187} // Fin du namespace DataServer
188} // Fin du namespace URANIE
189#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Definition TStochAttribut.h:370
Description of the class TStudentDistribution.
Definition TStudentDistribution.h:64
virtual void setParameters(Double_t k, Bool_t recompute=kTRUE)
Set all the parameters.
virtual void setParameterK(Double_t k, Bool_t recompute=kTRUE)
Set the dof parameter.
virtual void computeMean()
Definition TStudentDistribution.h:178
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.
Double_t _dparameterK
Dof parameter .
Definition TStudentDistribution.h:66
TStudentDistribution(TString name, Double_t k)
Constructor setting name, scale and location.
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Double_t getParameterK()
Return the rate parameter.
Definition TStudentDistribution.h:121
virtual void printLog(Option_t *option="")
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
virtual ~TStudentDistribution()
Default destructor.
TStudentDistribution()
Default constructor.
TStudentDistribution(TString name)
Constructor setting the name.
TStudentDistribution(URANIE::DataServer::TAttribute *att, Double_t k)
Construction of a TStudentDistribution from an existing TAttribute object.
ROOT.
Definition TAttribute.h:106