11 #ifndef CLPROBDIST_GAMMADIST_H
12 #define CLPROBDIST_GAMMADIST_H
30 #include "clProbDist/continuous.h"
141 cl_double
clprobdistGammaDensity(cl_double alpha, cl_double lambda,
int decprec, cl_double x, clprobdistStatus* err);
154 cl_double
clprobdistGammaCDF(cl_double alpha, cl_double lambda,
int decprec, cl_double x, clprobdistStatus* err);
167 cl_double
clprobdistGammaComplCDF(cl_double alpha, cl_double lambda,
int decprec, cl_double x, clprobdistStatus* err);
192 cl_double
clprobdistGammaMean(cl_double alpha, cl_double lambda,
int decprec, clprobdistStatus* err);
226 cl_double clprobdistGammaCDF_1(cl_double alpha,
int d, cl_double x, clprobdistStatus* err);
232 cl_double clprobdistGammaComplCDF_1(cl_double alpha,
int d, cl_double x, clprobdistStatus* err);
238 cl_double clprobdistGammaInverseCDF_1(cl_double alpha,
int d, cl_double u, clprobdistStatus* err);
cl_double clprobdistGammaDensityWithObject(const clprobdistGamma *dist, cl_double x, clprobdistStatus *err)
Probability density function [device].
cl_double clprobdistGammaCDFWithObject(const clprobdistGamma *dist, cl_double x, clprobdistStatus *err)
Cumulative density function [device].
cl_double clprobdistGammaVariance(cl_double alpha, cl_double lambda, int decprec, clprobdistStatus *err)
Variance of the distribution [device].
cl_double clprobdistGammaGetLambda(const clprobdistGamma *dist, clprobdistStatus *err)
Return the scale parameter of the distribution [device].
Library definitions common to all probability distributions.
clprobdistStatus clprobdistGammaDestroy(clprobdistGamma *dist)
Destroy a distribution object.
cl_double clprobdistGammaInverseCDF(cl_double alpha, cl_double lambda, int decprec, cl_double u, clprobdistStatus *err)
Inverse cumulative density function [device].
clprobdistGamma * clprobdistGammaCreate(cl_double alpha, cl_double lambda, int decprec, size_t *bufSize, clprobdistStatus *err)
Create a distribution object.
cl_double clprobdistGammaMean(cl_double alpha, cl_double lambda, int decprec, clprobdistStatus *err)
Mean of the distribution [device].
cl_double clprobdistGammaComplCDF(cl_double alpha, cl_double lambda, int decprec, cl_double x, clprobdistStatus *err)
Complementary CDF or reliability function [device].
cl_double clprobdistGammaCDF(cl_double alpha, cl_double lambda, int decprec, cl_double x, clprobdistStatus *err)
Cumulative density function [device].
cl_double clprobdistGammaMeanWithObject(const clprobdistGamma *dist, clprobdistStatus *err)
Mean of the distribution [device].
cl_double clprobdistGammaDensity(cl_double alpha, cl_double lambda, int decprec, cl_double x, clprobdistStatus *err)
Probability density function [device].
cl_double clprobdistGammaVarianceWithObject(const clprobdistGamma *dist, clprobdistStatus *err)
Variance of the distribution [device].
cl_double clprobdistGammaStdDeviation(cl_double alpha, cl_double lambda, int decprec, clprobdistStatus *err)
Standard deviation of the distribution [device].
struct _clprobdistGamma clprobdistGamma
Gamma distribution object [device].
Definition: gamma.clh:52
cl_double clprobdistGammaComplCDFWithObject(const clprobdistGamma *dist, cl_double x, clprobdistStatus *err)
Complementary CDF or reliability function [device].
cl_double clprobdistGammaGetAlpha(const clprobdistGamma *dist, clprobdistStatus *err)
Return the shape parameter of the distribution [device].
cl_double clprobdistGammaInverseCDFWithObject(const clprobdistGamma *dist, cl_double u, clprobdistStatus *err)
Inverse cumulative density function [device].
cl_double clprobdistGammaStdDeviationWithObject(const clprobdistGamma *dist, clprobdistStatus *err)
Standard deviation of the distribution [device].