Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
QuantFuncMathMore.cxx
Go to the documentation of this file.
1// @(#)root/mathmore:$Id$
2// Authors: L. Moneta, A. Zsenei 08/2005
3
4#include "gsl/gsl_cdf.h"
5
6
7namespace ROOT {
8namespace Math {
9
10
11
12 double tdistribution_quantile_c(double z, double r) {
13
14 return gsl_cdf_tdist_Qinv(z, r);
15
16 }
17
18
19
20 double tdistribution_quantile(double z, double r) {
21
22 return gsl_cdf_tdist_Pinv(z, r);
23
24 }
25
26} // namespace Math
27
28namespace MathMore {
29 // re-implement some function already existing in MathCore (defined in ROOT::Math namespace)
30
31 double chisquared_quantile(double z, double r) {
32
33 return gsl_cdf_chisq_Pinv(z, r);
34
35 }
36
37
38 double gamma_quantile(double z, double alpha, double theta) {
39
40 return gsl_cdf_gamma_Pinv(z, alpha, theta);
41
42 }
43
44} // namespace MathMore
45
46} // namespace ROOT
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
double chisquared_quantile(double z, double r)
Re-implementation in MathMore of the Inverse ( ) of the cumulative distribution function of the lower...
double gamma_quantile(double z, double alpha, double theta)
Re-implementation in MathMore of the Inverse ( ) of the cumulative distribution function of the lower...
double tdistribution_quantile(double z, double r)
Inverse ( ) of the cumulative distribution function of the lower tail of Student's t-distribution (td...
double tdistribution_quantile_c(double z, double r)
Inverse ( ) of the cumulative distribution function of the upper tail of Student's t-distribution (td...
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.