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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
/*
Theseus - maximum likelihood superpositioning of macromolecular structures
Copyright (C) 2004-2015 Douglas L. Theobald
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the:
Free Software Foundation, Inc.,
59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
-/_|:|_|_\-
*/
/* -------------------------------------------------------------
* 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
|