nag_complex_bessel_j_seq (s18gkc) returns a sequence of values for the Bessel functions or for complex , non-negative and .
nag_complex_bessel_j_seq (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
nag_complex_bessel_y (s17dcc) and
nag_complex_bessel_j (s17dec).
- 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.
- 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
nag_complex_bessel_y (s17dcc) and
nag_complex_bessel_j (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
nag_complex_bessel_y (s17dcc) and
nag_complex_bessel_j (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.
Not applicable.
None.