analistica/ex-1/moyal.h

24 lines
527 B
C
Raw Permalink Normal View History

2020-06-08 00:48:28 +02:00
/* This file contains functions to
* compute the Moyal distribution
* PDF, CDF and QDF functions.
*/
#pragma once
/* This is a wrapper needed by `moyal_cdf` and
* other optimisation functions because the GSL
* routines expect a function with parameters.
*/
double moyal_pdf(double x, void* params);
/* The cumulative function of the Moyal distribution.
*/
double moyal_cdf(double x, void* params);
/* The quantile function (inverse CDF) of the Moyal
* distribution.
*/
double moyal_qdf(double p0, void* params);