BesselJ Method (Double, Double, Int32) |
Evaluate a sequence of Bessel functions of the first kind with real
order and real positive argument.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double[] J(
double xnu,
double x,
int n
)
Public Shared Function J (
xnu As Double,
x As Double,
n As Integer
) As Double()
public:
static array<double>^ J(
double xnu,
double x,
int n
)
static member J :
xnu : float *
x : float *
n : int -> float[]
Parameters
- xnu
- Type: SystemDouble
A double representing the lowest order desired. xnu
must be at least zero and less than 1.
- x
- Type: SystemDouble
A double representing the argument for which the sequence of
Bessel functions is to be evaluated.
- n
- Type: SystemInt32
A int representing the order of the last element in the
sequence. If order is the highest order desired, set n to
int(order).
Return Value
Type:
Double
A
double array of length n+1 containing the values of the
function through the series. Bessel.J[I] contains the value of the
Bessel function of order I + v at
x for I=0 to
n.
Remarks
The Bessel function
, is defined to be
This code is based on the work of Gautschi (1964) and Skovgaard
(1975). It uses backward recursion.
See Also