11 #ifndef CLRNG_TEMPLATE_H
12 #define CLRNG_TEMPLATE_H
14 #error This file is a template for specific probability distributions; it should not be included as is. Use a distribution-specific header such as poisson.h instead.
298 cl_double
clprobdistProb(DIST_PARAMS, cl_int x, clprobdistStatus* err);
cl_double vartype
Random variable data type.
Definition: clProbDist_template.h:85
cl_double clprobdistMeanWithObject(const clprobdistObject *dist, clprobdistStatus *err)
Mean of the distribution [device].
cl_double clprobdistProbWithObject(const clprobdistObject *dist, cl_int x, clprobdistStatus *err)
Probability mass function [device].
cl_double clprobdistCDFWithObject(const clprobdistObject *dist, vartype x, clprobdistStatus *err)
Cumulative density function [device].
cl_double clprobdistVarianceWithObject(const clprobdistObject *dist, clprobdistStatus *err)
Variance of the distribution [device].
cl_double clprobdistComplCDFWithObject(const clprobdistObject *dist, vartype x, clprobdistStatus *err)
Complementary CDF or reliability function [device].
cl_double clprobdistDensity(DIST_PARAMS, cl_double x, clprobdistStatus *err)
Probability density function [device].
Library definitions common to all probability distributions.
vartype clprobdistInverseCDF(DIST_PARAMS, cl_double u, clprobdistStatus *err)
Inverse cumulative density function [device].
vartype clprobdistInverseCDFWithObject(const clprobdistObject *dist, cl_double u, clprobdistStatus *err)
Inverse cumulative density function [device].
clprobdistStatus clprobdistDestroy(clprobdistObject *dist)
Destroy a distribution object.
cl_double clprobdistVariance(DIST_PARAMS, clprobdistStatus *err)
Variance of the distribution [device].
Distribution object [device].
Definition: clProbDist_template.h:75
clprobdistObject * clprobdistCreate(DIST_PARAMS, size_t *bufSize, clprobdistStatus *err)
Create a distribution object.
cl_double clprobdistComplCDF(DIST_PARAMS, vartype x, clprobdistStatus *err)
Complementary CDF or reliability function [device].
cl_double clprobdistCDF(DIST_PARAMS, vartype x, clprobdistStatus *err)
Cumulative density function [device].
cl_double clprobdistDensityWithObject(const clprobdistObject *dist, cl_double x, clprobdistStatus *err)
Probability density function [device].
cl_double clprobdistStdDeviationWithObject(const clprobdistObject *dist, clprobdistStatus *err)
Standard deviation of the distribution [device].
cl_double clprobdistMean(DIST_PARAMS, clprobdistStatus *err)
Mean of the distribution [device].
cl_double clprobdistStdDeviation(DIST_PARAMS, clprobdistStatus *err)
Standard deviation of the distribution [device].
cl_double clprobdistProb(DIST_PARAMS, cl_int x, clprobdistStatus *err)
Probability mass function [device].
clprobdistStatus clprobdistCopyOverFromGlobal(_CLPROBDIST_< DIST >_OBJ_MEM clprobdistObject *destDist, __global const clprobdistObject *srcDist)
Copy a distribution object into already allocated memory [device-only].