grid_tools
1.7.0
|
This module is for evaluating several useful real-valued functions that are not always available in Fortran compilers. More...
Data Types | |
interface | ahav |
interface | ahavh |
interface | atanh |
interface | gd |
interface | gdi |
interface | hav |
interface | havh |
interface | sech |
interface | sechs |
interface | sinhox |
interface | sinhoxm |
interface | sinox |
interface | sinoxm |
Public Member Functions | |
real(dp) function | ahav_d (a) |
Arc-haversine function for double precision real. More... | |
real(sp) function | ahav_s (a) |
Arc-haversine function for single precision real. More... | |
real(dp) function | ahavh_d (a) |
Hyperbolic arc-haversine for double precision real. More... | |
real(sp) function | ahavh_s (a) |
Hyperbolic arc-haversine for single precision real. More... | |
real(dp) function | atanh_d (t) |
Hyperbolic arc-tangent for double precision real. More... | |
real(sp) function | atanh_s (t) |
Hyperbolic arc-tangent for single precision real. More... | |
real(dp) function | hav_d (t) |
Haversine function for double precision real (for geometry on the sphere). More... | |
real(dp) function | havh_d (t) |
Hyperbolic-haversine for double precision real (for pseudosphere geometry). More... | |
real(sp) function | havh_s (t) |
Hyperbolic-haversine for single precision real (for pseudosphere geometry). More... | |
real(dp) function | sech_d (x) |
Hyperbolic secant for double precision real. More... | |
real(sp) function | sech_s (x) |
Hyperbolic secant for single precision real. More... | |
real(sp) function | sechs_s (x) |
Hyperbolic secant-squared function (logistic distribution). More... | |
real(dp) function | sinhox_d (x) |
Evaluate the symmetric real function sinh(x)/x. More... | |
real(dp) function | sinhoxm_d (x) |
Evaluate the symmetric real function sinh(x)/x-1. More... | |
real(dp) function | sinox_d (x) |
Evaluate the symmetric real function sin(x)/x. More... | |
Private Member Functions | |
real(dp) function | gd_d (x) |
Gudermannian function (related to Mercator map projections) More... | |
real(sp) function | gd_s (x) |
Gudermannian function (related to Mercator map projections) More... | |
real(dp) function | gdi_d (y) |
Inverse Gudermannian function for double precision real. More... | |
real(sp) function | gdi_s (y) |
Inverse Gudermannian function for single precision real. More... | |
real(sp) function | hav_s (t) |
Haversine function for single precision real (for geometry on the sphere). More... | |
real(dp) function | sechs_d (x) |
Hyperbolic secant-squared function (logistic distribution). More... | |
real(dp) function | sinoxm_d (x) |
Evaluate the symmetric real function sin(x)/x-1, still accurate near x=0. More... | |
This module is for evaluating several useful real-valued functions that are not always available in Fortran compilers.
These have applications in map transformations, spherical and pseudo-spherical surface geometry, probability distributions, and splines.
real(dp) function pfun::ahav_d | ( | real(dp), intent(in) | a | ) |
real(sp) function pfun::ahav_s | ( | real(sp), intent(in) | a | ) |
real(dp) function pfun::ahavh_d | ( | real(dp), intent(in) | a | ) |
real(sp) function pfun::ahavh_s | ( | real(sp), intent(in) | a | ) |
real(dp) function pfun::atanh_d | ( | real(dp), intent(in) | t | ) |
real(sp) function pfun::atanh_s | ( | real(sp), intent(in) | t | ) |
|
private |
|
private |
|
private |
|
private |
real(dp) function pfun::hav_d | ( | real(dp), intent(in) | t | ) |
|
private |
real(dp) function pfun::havh_d | ( | real(dp), intent(in) | t | ) |
real(sp) function pfun::havh_s | ( | real(sp), intent(in) | t | ) |
real(dp) function pfun::sech_d | ( | real(dp), intent(in) | x | ) |
real(sp) function pfun::sech_s | ( | real(sp), intent(in) | x | ) |
|
private |
real(sp) function pfun::sechs_s | ( | real(sp), intent(in) | x | ) |
real(dp) function pfun::sinhox_d | ( | real(dp), intent(in) | x | ) |
real(dp) function pfun::sinhoxm_d | ( | real(dp), intent(in) | x | ) |
real(dp) function pfun::sinox_d | ( | real(dp), intent(in) | x | ) |
|
private |