STK++ 0.9.13
STK_Law_Student.cpp
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
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
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any 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
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23*/
24
25/*
26 * Project: stkpp::STatistiK::Law
27 * Purpose: Student probability distribution.
28 * Author: Serge Iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
29 **/
30
36#ifndef IS_RTKPP_LIB
37#include "../include/STK_Law_Student.h"
38#endif
39
40namespace STK
41{
42
43namespace Law
44{
45#ifndef IS_RTKPP_LIB
46
47/* @return a pseudo Student random variate. */
49{
50 return 0;
51}
52/* @return the value of the pdf
53 * @param x a positive real value
54 **/
55Real Student::pdf(Real const& x) const
56{
57 return 0;
58}
59/* @return the value of the log-pdf
60 * @param x a positive real value
61 **/
62Real Student::lpdf(Real const& x) const
63{
64 return 0;
65}
66/* @return the cumulative distribution function
67 * @param t a positive real value
68 **/
69Real Student::cdf(Real const& t) const
70{
71 return 0;
72}
73/* @return the inverse cumulative distribution function
74 * @param p a probability number
75 **/
76Real Student::icdf(Real const& p) const
77{
78 return 0;
79}
80
81/* @return a pseudo Student random variate with the specified parameters.
82 * @param df degree of freedom parameter
83 **/
85{
86 return 0;
87}
88/* @return the value of the pdf
89 * @param x a positive real value
90 * @param df degree of freedom parameter
91 **/
92Real Student::pdf(Real const& x, int df)
93{
94 return 0;
95}
96/* @return the value of the log-pdf
97 * @param x a positive real value
98 * @param df degree of freedom parameter
99 **/
100Real Student::lpdf(Real const& x, int df)
101{
102 return 0;
103}
104/* @return the cumulative distribution function
105 * @param t a positive real value
106 * @param df degree of freedom parameter
107 **/
108Real Student::cdf(Real const& t, int df)
109{
110 return 0;
111}
112/* @return the inverse cumulative distribution function
113 * @param p a probability number
114 * @param df degree of freedom parameter
115 **/
116Real Student::icdf(Real const& p, int df)
117{
118 return 0;
119}
120
121#endif
122
123} // namespace Law
124
125} // namespace STK
126
virtual Real rand() const
virtual Real icdf(Real const &p) const
virtual Real pdf(Real const &x) const
virtual Real cdf(Real const &t) const
virtual Real lpdf(Real const &x) const
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.