NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO
$(NUCLEUS_DIR)/lib/libm.a #include <math.h>double j0(double x);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The j0() and j1() functions compute the Bessel function of the first type of the order 0 and the order 1, respectively, for the real value x . The jn() function computes the Bessel function of the first type of the integer order n for the real value x .
The functions y0() and y1() compute the linearly independent Bessel function of the second type of the order 0 and the order 1, respectively, for the positive real value x . The function yn() computes the Bessel function of the second type for the integer order n for the positive real value x .
If these functions are successful, the computed value is returned. Upon successful completion, j0() , j1() , and jn() return the relevant Bessel value of x of the first type.
On successful completion, y0() , y1() , and yn() return the relevant Bessel value of x of the second type.
If the x argument of y0() , y1() , or yn() is negative, -HUGE_VAL is returned and errno is set to EDOM .
If x is 0.0, -HUGE_VAL is returned and errno is set to ERANGE .
If the correct result would cause overflow, -HUGE_VAL or HUGE_VAL is returned and errno is set to ERANGE .
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO