BesselJ Method (Double, Int32) |
Evaluates a sequence of Bessel functions of the first kind with
integer order and real argument.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double[] J(
double x,
int n
)
Public Shared Function J (
x As Double,
n As Integer
) As Double()
public:
static array<double>^ J(
double x,
int n
)
static member J :
x : float *
n : int -> float[]
Parameters
- x
- Type: SystemDouble
A double representing the argument for which the sequence of
Bessel functions is to be evaluated.
- n
- Type: SystemInt32
A int which specifies the order of the last element in the
sequence.
Return Value
Type:
Double
A
double array of length
n + 1 containing the values of
the function through the series.
Remarks
Bessel.J[i] contains the value of the Bessel function of order i at
x for i = 0 to n.
The Bessel function
, is defined to be
The algorithm is based on a code due to Sookne (1973b) that uses
backward recursion with strict error control.
See Also