|
Chapter Contents |
Previous |
Next |
| Language Reference |
computes the first nonzero roots of a Bessel function of the first kind and the derivative of the Bessel function at each root
The JROOT function returns an n ×2 matrix with the calculated roots in the first column and the derivatives in the second column.
The inputs to the JROOT function are as follows:
The JROOT function returns a matrix in which the first column contains the first n roots of the Bessel function; these roots are the solutions to the equation



The following code provides an example:
proc iml; x = jroot(1,4); print x;
To obtain only the roots, you can use the following statement, which extracts the first column of the returned matrix:
x = jroot(1,4)[,1];
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.