#include <lcmath.h> double j0(double x);
j0
computes the Bessel function of the first kind with order 0 of the
value x
.
j0
returns the Bessel function of the first kind with order 0 of the
argument x
, provided that this value is computable.
x
is too large (|x| >= 6.7465e9), j0
returns
0.0. In this case, the message "total loss of significance" is also written to
stderr
(the standard error file).
If an error occurs in j0
, the _matherr
routine is called. You
supply your own version of _matherr
to suppress the diagnostic
message or modify the value returned.
j0
:
#include <stdio.h> #include <lcmath.h> main() { double y; y = j0(5.); printf("j0(5.) = %lfn", y); }
j1
, jn
, _matherr
, y0
, y1
, yn
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.