3.2.1.1. Template.m

Here describe the purpose of this function.

3.2.1.1.1. Syntax

The syntax to call this function, e.g., h = SphHankelH_Asym(n, z, varargin).

3.2.1.1.2. Output arguments

Output arguments of this function, e.g., h\(\mathrm{h}_n(z)\).

3.2.1.1.3. Input arguments

Input arguments of this function.

3.2.1.1.3.1. Mandatory arguments

Mandatory input arguments, e.g.,

n — order

z — the argument \(z\)

3.2.1.1.3.2. Optional arguments

Optional input arguments which are included in varargin, e.g., approx_order

  • \(K\in \mathbb{N}\) — Calculate the spherical Hankel function using the asymptotic expansion.

3.2.1.1.4. Dependencies

The functions required in this function. Below is an example.

The result is obtained by calculating the Hankel function using HankelH_Asym.m with the relation by, see Eq. (10.47.5) in Olver et al. [5].

(3.2.1)\[\mathrm{h}_n^{(1)}(z) = \sqrt{\frac{\pi}{2z}} H_{n+1/2}^{(1)}(z)\]