関数TF_B0 マニュアル

(The documentation of function TF_B0)

Last Update: 2023/12/11


◆機能・用途(Purpose)

計算式 に登場する関数 (1)B0(x)0xJ0(η)dη を計算する。
Compute the function B0(x) (Eq. 1) in the formula.


◆形式(Format)

#include "frequency_bessel_sub/calculation.h"
inline double TF_B0(const double x)


◆引数(Arguments)

x 使用する(1)式のxの値。
The value of x in Eq. (1) used.

◆戻り値(Return value)

引数で指定したxにおける(1)式のB0(x)の値。
The value of B0(x) (Eq. 1) for x specified by the argument.


◆計算方法(Computation method)

積分区間を1000等分して台形公式により計算する。 すなわちΔη=x/1000として (2)B0(x)i=0999[J0(iΔη)+J0((i+1)Δη)]Δη2 の近似を用いる。
The trapezoid rule is applied to 1000 equi-spaced subsections of the integral; Eq. (2) with Δη=x/1000.