STK++ 0.9.13
STK_Law_Geometric.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 * created on: 23 janv. 2013
28 * Author: iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
29 **/
30
36#ifndef IS_RTKPP_LIB
37#include "../include/STK_Law_Geometric.h"
38#endif
39
40namespace STK
41{
42
43namespace Law
44{
45
46#ifndef IS_RTKPP_LIB
47
48/* @return a geometric random variate . */
50{
51 return 0;
52}
53/* @brief compute the probability distribution function (density)
54 * Give the value of the pdf at the point x.
55 * @param x a binary value
56 * @return the value of the pdf
57 **/
59{
60 return 0;
61}
62/* @brief compute the log probability distribution function
63 * Give the value of the log-pdf at the point x.
64 * @param x a binary value
65 * @return the value of the log-pdf
66 **/
68{
69 return 0;
70}
71/* @brief compute the cumulative distribution function
72 * Give the probability that a Geometric random variate is less or equal
73 * to t.
74 * @param t a real value
75 * @return the value of the cdf
76 **/
78{
79 return 0;
80}
81/* @brief inverse cumulative distribution function
82 * The quantile is defined as the smallest value @e x such that
83 * <em> F(x) >= p </em>, where @e F is the cumulative distribution function.
84 * @param p a probability number
85 **/
87{
88 return 0;
89}
90
91/* @param prob a probability number
92 * @return a Integer random variate.
93 **/
95{
96 return 0;
97}
98/* @brief compute the probability distribution function (density)
99 * Give the value of the pdf at the point x.
100 * @param x a binary value
101 * @param prob a probability number
102 * @return the value of the pdf
103 **/
105{
106 return 0;
107}
108/* @brief compute the log probability distribution function
109 * Give the value of the log-pdf at the point x.
110 * @param x a binary value
111 * @param prob a probability number
112 * @return the value of the log-pdf
113 **/
115{
116 return 0;
117}
118/* @brief compute the cumulative distribution function
119 * Give the probability that a Geometric random variate is less or equal
120 * to t.
121 * @param t a real value
122 * @return the value of the cdf
123 **/
124Real Geometric::cdf(Real const& t, Real const& prob)
125{
126 return 0;
127}
128/* @brief inverse cumulative distribution function
129 * The quantile is defined as the smallest value @e x such that
130 * <em> F(x) >= p </em>, where @e F is the cumulative distribution function.
131 * @param p a probability number
132 **/
133Integer Geometric::icdf(Real const& p, Real const& prob)
134{
135 return 0;
136}
137
138#endif
139
140} // namespace Law
141
142} // namespace STK
143
virtual Real cdf(Real const &t) const
compute the cumulative distribution function Give the probability that a Geometric random variate is ...
virtual Integer rand() const
virtual Real pdf(Integer const &x) const
compute the probability distribution function (density) Give the value of the pdf at the point x.
virtual Real lpdf(Integer const &x) const
compute the log probability distribution function Give the value of the log-pdf at the point x.
virtual Integer icdf(Real const &p) const
inverse cumulative distribution function The quantile is defined as the smallest value x such that F...
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.