grid_tools  1.13.0
pmat4::znfun Interface Reference

Private Member Functions

subroutine znfun (n, z, zn, znd, zndd, znddd)
 For a given nonnegative integer n and real argument z, evaluate the nth,...,(n+3)th derivatives, wrt z, of the function C(z) = cosh(sqrt(2z)) or, equivalently, of C(z) = cos(sqrt(-2z)), according to the sign of z. More...
 

Detailed Description

Definition at line 104 of file pmat4.f90.

Constructor & Destructor Documentation

◆ znfun()

subroutine pmat4::znfun::znfun ( integer(spi), intent(in)  n,
real(dp), intent(in)  z,
real(dp), intent(out)  zn,
real(dp), intent(out)  znd,
real(dp), intent(out)  zndd,
real(dp), intent(out)  znddd 
)
private

For a given nonnegative integer n and real argument z, evaluate the nth,...,(n+3)th derivatives, wrt z, of the function C(z) = cosh(sqrt(2z)) or, equivalently, of C(z) = cos(sqrt(-2z)), according to the sign of z.

Parameters
[in]ninteger order of the first of the returned derivatives of C.
[in]zreal input argument in the function C(z)
[out]znnth-derivative of C(z)
[out]znd(n+1)th-derivative of C(z)
[out]zndd(n+2)th-derivative of C(z)
[out]znddd(n+3)th-derivative of C(z)
Author
R. J. Purser

Definition at line 1960 of file pmat4.f90.


The documentation for this interface was generated from the following file: