You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / special / _basic / h2vp

function

scipy.special._basic:h2vp

source: /scipy/special/_basic.py:1208

Signature

def h2vp(v, z, n = 1)

Summary

Compute derivatives of Hankel function H2v(z) with respect to z.

Parameters

v : array_like

Order of Hankel function

z : array_like

Argument at which to evaluate the derivative. Can be real or complex.

n : int, default 1

Order of derivative. For 0 returns the Hankel function hankel2 itself.

Returns

: scalar or ndarray

Values of the derivative of the Hankel function.

Notes

The derivative is computed using the relation DLFM 10.6.7 [2].

Examples

Compute the Hankel function of the second kind of order 0 and its first two derivatives at 1.
from scipy.special import h2vp
✓
h2vp(0, 1, 0), h2vp(0, 1, 1), h2vp(0, 1, 2)
✗
Compute the first derivative of the Hankel function of the second kind for several orders at 1 by providing an array for `v`.
h2vp([0, 1, 2], 1, 1)
✗
Compute the first derivative of the Hankel function of the second kind of order 0 at several points by providing an array for `z`.
import numpy as np
points = np.array([0.5, 1.5, 3.])
✓
h2vp(0, points, 1)
✗

See also

hankel2

Aliases

  • scipy.special.h2vp