fsml_chi2_pdf Interface

public interface fsml_chi2_pdf

Probability density function for the chi-squared distribution. Uses intrinsic exp and gamma function. where = degrees of freedom (df) and is the gamma function.

Calls

interface~~fsml_chi2_pdf~~CallsGraph interface~fsml_chi2_pdf fsml_chi2_pdf proc~f_dst_chi2_pdf f_dst_chi2_pdf interface~fsml_chi2_pdf->proc~f_dst_chi2_pdf proc~f_dst_chi2_pdf_core f_dst_chi2_pdf_core proc~f_dst_chi2_pdf->proc~f_dst_chi2_pdf_core proc~s_err_print s_err_print proc~f_dst_chi2_pdf->proc~s_err_print proc~f_utl_r2c f_utl_r2c proc~s_err_print->proc~f_utl_r2c

Module Procedures

public impure function f_dst_chi2_pdf(x, df, loc, scale) result(fx)

Impure wrapper function for f_dst_chi2_pdf_core. Handles optional arguments and invalid values for arguments.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x

sample position

real(kind=wp), intent(in) :: df

degrees of freedom

real(kind=wp), intent(in), optional :: loc

location parameter

real(kind=wp), intent(in), optional :: scale

scale parameter

Return Value real(kind=wp)

resulting PDF value