bessel_m Module



Variables

Type Visibility Attributes Name Initial
real(kind=GP), public, parameter :: err_val_i0 = -1.0_GP
real(kind=GP), public, parameter :: err_val_k0 = -1.0_GP

Functions

public pure function bessel_i0(arg) result(bi0)

Modified Bessel function of the 1st kind, I0(x) SOURCE: SPECFUN library by W. Cody and L. Stoltz NOTE: The function will produce worse results for larger arguments, around arg > 25. NOTE: The function returns -1 if an invalid argument was input (if arg > xmax).

Arguments

Type IntentOptional Attributes Name
real(kind=GP), intent(in) :: arg

Return Value real(kind=GP)

public pure function bessel_k0(arg) result(bk0)

Modified Bessel function of the 2nd kind, K0(x) SOURCE: SPECFUN library by W. Cody and L. Stoltz NOTE: The function returns -1 if an invalid argument was input (if arg <= 0).

Arguments

Type IntentOptional Attributes Name
real(kind=GP), intent(in) :: arg

Return Value real(kind=GP)