s18gkc evaluates a sequence of values for the Bessel function of the first kind
, where
is complex and nonzero and
is the order with
. The
-member sequence is generated for orders
when
. Note that
is replaced by
when
. For positive orders the function may also be called with
, since
when
. For negative orders the formula
is used to generate the required sequence. The appropriate values of
and
are obtained by calls to
s17dcc and
s17dec.
- NE_ALLOC_FAIL
-
Dynamic memory allocation failed.
See
Section 3.1.2 in the Introduction to the
NAG Library CL Interface for further information.
- NE_BAD_PARAM
-
On entry, argument had an illegal value.
- NE_INT
-
On entry, .
Constraint: .
On entry, .
Constraint: when , .
- NE_INTERNAL_ERROR
-
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact
NAG for assistance.
See
Section 7.5 in the Introduction to the
NAG Library CL Interface for further information.
- NE_NO_LICENCE
-
Your licence key may have expired or may not have been installed correctly.
See
Section 8 in the Introduction to the
NAG Library CL Interface for further information.
- NE_OVERFLOW_LIKELY
-
Computation abandoned due to the likelihood of overflow.
- NE_REAL
-
On entry, .
Constraint: .
On entry, .
Constraint: .
- NE_TERMINATION_FAILURE
-
Computation abandoned due to failure to satisfy the termination condition.
- NE_TOTAL_PRECISION_LOSS
-
Computation abandoned due to total loss of precision.
- NW_SOME_PRECISION_LOSS
-
Computation completed but some precision has been lost.
All constants in
s17dcc and
s17dec
are specified to approximately
digits of precision. If
denotes the number of digits of precision in the floating-point arithmetic being used, then clearly the maximum number of correct digits in the results obtained is limited by
. Because of errors in argument reduction when computing elementary functions inside
s17dcc and
s17dec, the actual number of correct digits is limited, in general, by
,
where
represents the number of digits lost due to the argument reduction. Thus the larger the values of
and
, the less the precision in the result.
Background information to multithreading can be found in the
Multithreading documentation.
None.