Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cdfdist.h File Reference

Prototypes

REAL8 cdf_chisq_Pinv (REAL8 P, REAL8 nu)
 
REAL8 cdf_chisq_Qinv (REAL8 Q, REAL8 nu)
 
REAL8 cdf_gamma_Pinv (REAL8 P, REAL8 a, REAL8 b)
 
INT4 cdf_gamma_Qinv (REAL8 *out, REAL8 Q, REAL8 a, REAL8 b)
 
REAL8 cdf_ugaussian_Pinv (REAL8 P)
 
INT4 cdf_ugaussian_Qinv (REAL8 *out, REAL8 Q)
 
REAL8 cdf_gamma_P (REAL8 x, REAL8 a, REAL8 b)
 
REAL8 cdf_gamma_P_usingmatlab (REAL8 x, REAL8 a, REAL8 b)
 
INT4 cdf_gamma_Q (REAL8 *out, REAL8 x, REAL8 a, REAL8 b)
 
REAL8 cdf_gamma_Q_usingmatlab (REAL8 x, REAL8 a, REAL8 b)
 
REAL8 ncx2cdf (REAL8 x, REAL8 dof, REAL8 delta)
 Matlab's version of the non-central chi-squared CDF with nu degrees of freedom and non-centrality delta at value x. More...
 
REAL8 ncx2cdf_withouttinyprob (REAL8 x, REAL8 dof, REAL8 delta)
 
REAL8 ncx2cdf_withouttinyprob_withmatlabchi2cdf (REAL8 x, REAL8 dof, REAL8 delta)
 
REAL8 ncx2pdf (REAL8 x, REAL8 dof, REAL8 delta)
 
REAL8 ncx2inv (REAL8 p, REAL8 dof, REAL8 delta)
 Matlab's ncx2inv function. More...
 
REAL4 ncx2inv_float (REAL8 p, REAL8 dof, REAL8 delta)
 
REAL8 norminv (REAL8 p, REAL8 mu, REAL8 sigma)
 
REAL8 twospect_cdf_chisq_P (REAL8 x, REAL8 nu)
 Compute the CDF P value at value x of a chi squared distribution with nu degrees of freedom Rougly REAL4 precision. More...
 
REAL8 matlab_cdf_chisq_P (REAL8 x, REAL8 nu)
 Compute the CDF P value at value x of a chi squared distrubution with nu degrees of freedom using the Matlab-based function. More...
 
REAL8 unitGaussianSNR (REAL8 value, REAL8 dof)
 
REAL4 ncx2cdf_float (REAL4 x, REAL4 dof, REAL4 delta)
 
REAL4 ncx2cdf_float_withouttinyprob (REAL4 x, REAL4 dof, REAL4 delta)
 
REAL4 ncx2cdf_float_withouttinyprob_withmatlabchi2cdf (REAL4 x, REAL4 dof, REAL4 delta)
 

Go to the source code of this file.

Function Documentation

◆ cdf_chisq_Pinv()

REAL8 cdf_chisq_Pinv ( REAL8  P,
REAL8  nu 
)

Definition at line 32 of file cdfdist.c.

◆ cdf_chisq_Qinv()

REAL8 cdf_chisq_Qinv ( REAL8  Q,
REAL8  nu 
)

Definition at line 38 of file cdfdist.c.

◆ cdf_gamma_Pinv()

REAL8 cdf_gamma_Pinv ( REAL8  P,
REAL8  a,
REAL8  b 
)

Definition at line 44 of file cdfdist.c.

◆ cdf_gamma_Qinv()

INT4 cdf_gamma_Qinv ( REAL8 out,
REAL8  Q,
REAL8  a,
REAL8  b 
)

Definition at line 122 of file cdfdist.c.

◆ cdf_ugaussian_Pinv()

REAL8 cdf_ugaussian_Pinv ( REAL8  P)

Definition at line 193 of file cdfdist.c.

◆ cdf_ugaussian_Qinv()

INT4 cdf_ugaussian_Qinv ( REAL8 out,
REAL8  Q 
)

Definition at line 224 of file cdfdist.c.

◆ cdf_gamma_P()

REAL8 cdf_gamma_P ( REAL8  x,
REAL8  a,
REAL8  b 
)

Definition at line 256 of file cdfdist.c.

◆ cdf_gamma_P_usingmatlab()

REAL8 cdf_gamma_P_usingmatlab ( REAL8  x,
REAL8  a,
REAL8  b 
)

Definition at line 275 of file cdfdist.c.

◆ cdf_gamma_Q()

INT4 cdf_gamma_Q ( REAL8 out,
REAL8  x,
REAL8  a,
REAL8  b 
)

Definition at line 294 of file cdfdist.c.

◆ cdf_gamma_Q_usingmatlab()

REAL8 cdf_gamma_Q_usingmatlab ( REAL8  x,
REAL8  a,
REAL8  b 
)

Definition at line 314 of file cdfdist.c.

◆ ncx2cdf()

REAL8 ncx2cdf ( REAL8  x,
REAL8  dof,
REAL8  delta 
)

Matlab's version of the non-central chi-squared CDF with nu degrees of freedom and non-centrality delta at value x.

Parameters
[in]xValue at which to compute the CDF
[in]dofNumber of degrees of freedom
[in]deltaNon-centrality parameter
Returns
CDF value

Definition at line 370 of file cdfdist.c.

◆ ncx2cdf_withouttinyprob()

REAL8 ncx2cdf_withouttinyprob ( REAL8  x,
REAL8  dof,
REAL8  delta 
)

Definition at line 491 of file cdfdist.c.

◆ ncx2cdf_withouttinyprob_withmatlabchi2cdf()

REAL8 ncx2cdf_withouttinyprob_withmatlabchi2cdf ( REAL8  x,
REAL8  dof,
REAL8  delta 
)

Definition at line 559 of file cdfdist.c.

◆ ncx2pdf()

REAL8 ncx2pdf ( REAL8  x,
REAL8  dof,
REAL8  delta 
)

Definition at line 628 of file cdfdist.c.

◆ ncx2inv()

REAL8 ncx2inv ( REAL8  p,
REAL8  dof,
REAL8  delta 
)

Matlab's ncx2inv function.

Parameters
[in]pCDF P value from which to compute the inversion
[in]dofNumber of degrees of freedom
[in]deltaNon-centrality parameter
Returns
The x value that corresponds to the P value

Definition at line 708 of file cdfdist.c.

◆ ncx2inv_float()

REAL4 ncx2inv_float ( REAL8  p,
REAL8  dof,
REAL8  delta 
)

Definition at line 764 of file cdfdist.c.

◆ norminv()

REAL8 norminv ( REAL8  p,
REAL8  mu,
REAL8  sigma 
)

Definition at line 819 of file cdfdist.c.

◆ twospect_cdf_chisq_P()

REAL8 twospect_cdf_chisq_P ( REAL8  x,
REAL8  nu 
)

Compute the CDF P value at value x of a chi squared distribution with nu degrees of freedom Rougly REAL4 precision.

Parameters
[in]xCDF value at value x
[in]nuNumber of degrees of freedom
Returns
CDF value

Definition at line 341 of file cdfdist.c.

◆ matlab_cdf_chisq_P()

REAL8 matlab_cdf_chisq_P ( REAL8  x,
REAL8  nu 
)

Compute the CDF P value at value x of a chi squared distrubution with nu degrees of freedom using the Matlab-based function.

Parameters
[in]xCDF value at value x
[in]nuNumber of degrees of freedom
Returns
CDF value

Definition at line 355 of file cdfdist.c.

◆ unitGaussianSNR()

REAL8 unitGaussianSNR ( REAL8  value,
REAL8  dof 
)

Definition at line 826 of file cdfdist.c.

◆ ncx2cdf_float()

REAL4 ncx2cdf_float ( REAL4  x,
REAL4  dof,
REAL4  delta 
)

Definition at line 429 of file cdfdist.c.

◆ ncx2cdf_float_withouttinyprob()

REAL4 ncx2cdf_float_withouttinyprob ( REAL4  x,
REAL4  dof,
REAL4  delta 
)

Definition at line 524 of file cdfdist.c.

◆ ncx2cdf_float_withouttinyprob_withmatlabchi2cdf()

REAL4 ncx2cdf_float_withouttinyprob_withmatlabchi2cdf ( REAL4  x,
REAL4  dof,
REAL4  delta 
)

Definition at line 593 of file cdfdist.c.