BesselJ0(x) calculates the double precision Bessel function of the first kind of order zero for double precision argument x.

Syntax

Visual Basic (Declaration)
Public Shared Function BesselJ0 ( _
	x As Double, _
	bDebug As Boolean _
) As Double
C#
public static double BesselJ0 (
	double x,
	bool bDebug
)
C++
public:
static double BesselJ0 (
	double x, 
	bool bDebug
)

Parameters

x (Double)
The function argument.
bDebug (Boolean)
If true, an exception is thrown if serious errors occur. If false, NaN is returned on errors.

Return Value

Bessel function of the first kind of order zero for argument x.