43#define ytMath_PI 3.14159265358979323846264
47#define ytMath_min(x,y) (x < y ? x : y)
51#define ytMath_max(x,y) (x > y ? x : y)
size_t ytMath_maxvSize_t(size_t size, const size_t *v)
Returns the maximum value in the vector.
Definition: ytMath.c:49
double ytMath_ldnorm(double x, double m, double v)
Log of density function of normal distribution.
Definition: ytMath.c:75
double ytMath_dnorm(double x, double m, double v)
Density function of normal distribution.
Definition: ytMath.c:63