-
Notifications
You must be signed in to change notification settings - Fork 0
/
rvms.h
68 lines (52 loc) · 2.2 KB
/
rvms.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* $Id: rvms.h 55 2005-09-13 22:29:52Z asminer $ */
/* -------------------------------------------------------------
* Name : rvms.h (header file for the library rvms.c)
* Author : Steve Park & Dave Geyer
* Language : ANSI C
* Latest Revision : 11-02-96
* --------------------------------------------------------------
*/
#if !defined( _RVMS_ )
#define _RVMS_
double LogFactorial(long n);
double LogChoose(long n, long m);
double pdfBernoulli(double p, long x);
double cdfBernoulli(double p, long x);
long idfBernoulli(double p, double u);
double pdfEquilikely(long a, long b, long x);
double cdfEquilikely(long a, long b, long x);
long idfEquilikely(long a, long b, double u);
double pdfBinomial(long n, double p, long x);
double cdfBinomial(long n, double p, long x);
long idfBinomial(long n, double p, double u);
double pdfGeometric(double p, long x);
double cdfGeometric(double p, long x);
long idfGeometric(double p, double u);
double pdfPascal(long n, double p, long x);
double cdfPascal(long n, double p, long x);
long idfPascal(long n, double p, double u);
double pdfPoisson(double m, long x);
double cdfPoisson(double m, long x);
long idfPoisson(double m, double u);
double pdfUniform(double a, double b, double x);
double cdfUniform(double a, double b, double x);
double idfUniform(double a, double b, double u);
double pdfExponential(double m, double x);
double cdfExponential(double m, double x);
double idfExponential(double m, double u);
double pdfErlang(long n, double b, double x);
double cdfErlang(long n, double b, double x);
double idfErlang(long n, double b, double u);
double pdfNormal(double m, double s, double x);
double cdfNormal(double m, double s, double x);
double idfNormal(double m, double s, double u);
double pdfLognormal(double a, double b, double x);
double cdfLognormal(double a, double b, double x);
double idfLognormal(double a, double b, double u);
double pdfChisquare(long n, double x);
double cdfChisquare(long n, double x);
double idfChisquare(long n, double u);
double pdfStudent(long n, double x);
double cdfStudent(long n, double x);
double idfStudent(long n, double u);
#endif