Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double[] Y( double xnu, double x, int n ) |
Visual Basic (Declaration) |
---|
Public Shared Function Y ( _ xnu As Double, _ x As Double, _ n As Integer _ ) As Double() |
Visual C++ |
---|
public: static array<double>^ Y( double xnu, double x, int n ) |
Parameters
- xnu
- Type: System..::.Double
A double representing the lowest order desired. xnu must be at least zero and less than 1.
- x
- Type: System..::.Double
A double representing the argument for which the sequence of Bessel functions is to be evaluated.
- n
- Type: System..::.Int32
A int which specifies that n + 1 elements will be evaluated in the sequence.
Return Value
A double array of length n + 1 containing the values of the function through the series.
Remarks
Bessel.K[I] contains the value of the Bessel function of order I + v at x for I=0 to n.
The Bessel function

![\, - \frac{1}{\pi }\int_0^\infty {\,\left[
{e^{\nu t} + e^{ - \nu t} \,\cos \left( {\nu \pi } \right)}
\right]} \,e^{ - x\,\sinh \,t} \,dt](eqn/eqn_0469.png)
The variable xnu (represented by in
the above equation) must satisfy
. If this condition is not met, then Y is set to
NaN. In addition, x must be in
where
and
. If
, then the largest representable number is returned;
and if
, then zero is returned.
The algorithm is based on work of Cody and others, (see Cody et al. 1976; Cody 1969; NATS FUNPACK 1976). It uses a special series expansion for small arguments. For moderate arguments, an analytic continuation in the argument based on Taylor series with special rational minimax approximations providing starting values is employed. An asymptotic expansion is used for large arguments.