関数chankel マニュアル

(The documentation of function chankel)

Last Update: 2023/11/14


◆機能・用途(Purpose)

複素変数に対するハンケル関数を計算する。
Compute the Hankel function for a complex variable.

Jn(z)をベッセル関数、Nn(z)をノイマン関数として、 ハンケル関数はHn(z)=Jn(z)+iNn(z)と定義される。
The Hankel function is defined as Hn(z)=Jn(z)+iNn(z), where Jn(z) is the Bessel function and Nn(z) is the Neuman function.


◆形式(Format)

#include <mathfunc.h>
inline double complex chankel(const int n,const double complex z)


◆引数(Arguments)

n ハンケル関数Hn(z)の次数n。非負でなければならない。
The order n of the Hankel function Hn(z), which must be non-negative.
z ハンケル関数Hn(z)の引数zの値。
The value of the argument z for the Hankel function Hn(z).


◆戻り値(Return value)

引数で指定したnzの組に対するHn(z)の値。
The value of Hn(z) for n and z specified by the arguments.


◆使用例(Example)

double complex H=chankel(1,0.5);


◆使用上の注意(Note)

大きなzについてこの関数を用いると計算が不安定になる可能性が高い。 詳細は関数cneumanのマニュアル参照。
This function may give unstable results for large z. For detail, see the documentation of function cneuman.