This modules contains some utility function that are used in the library.
Returns the values of the Jacobi elliptic functions evaluated at real
or complex
argument u and parameter ,
. For , and the elliptic modulus.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=psb_dpk_), | intent(in) | :: | u | |||
real(kind=psb_dpk_), | intent(in) | :: | L | |||
real(kind=psb_dpk_), | intent(out) | :: | sn | |||
real(kind=psb_dpk_), | intent(out) | :: | cn | |||
real(kind=psb_dpk_), | intent(out) | :: | dn |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=psb_dpk_), | intent(in) | :: | u | |||
real(kind=psb_dpk_), | intent(in) | :: | L | |||
complex(kind=psb_dpk_), | intent(out) | :: | sn | |||
complex(kind=psb_dpk_), | intent(out) | :: | cn | |||
complex(kind=psb_dpk_), | intent(out) | :: | dn | |||
logical, | intent(in), | optional | :: | flag |
Complete elliptic integral of the first kind, with complement. Returns the value of the complete elliptic integral of the first kind, evaluated at , , and the complementarity parameter .
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=psb_dpk_), | intent(in) | :: | L |
Apply Horner rule to evaluate a polynomial
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=psb_dpk_), | intent(in), | dimension (:) | :: | coeffs | Coefficient of the polynomial |
|
real(kind=psb_dpk_), | intent(in) | :: | x | Where to evaluate |
Result