bessel_jn(3f) - [FORTRAN:INTRINSIC:MATHEMATICS] Bessel function of the first kind
Syntax
Description
Arguments
Return Value
Example
Standard
Class
See Also
o result = bessel_jn(n, x) o result = bessel_jn(n1, n2, x)
bessel_jn(n, x) computes the [[Bessel function]] of the first kind of order N of X. If N and X are arrays, their ranks and shapes shall conform.
bessel_jn(n1, n2, x) returns an array with the [[Bessel function|Bessel functions]] of the first kind of the orders N1 to N2.
N - Shall be a scalar or an array of type INTEGER. N1 - Shall be a non-negative scalar of type INTEGER. N2 - Shall be a non-negative scalar of type INTEGER. X - Shall be a scalar or an array of type REAL. For bessel_jn(n1, n2, x) it shall be scalar.
The return value is a scalar of type REAL. It has the same kind as X.
Sample program:
program demo_besjn real(8) :: x = 1.0_8 x = bessel_jn(5,x) end program demo_besjn
[[Fortran 2008]] and later
[[Elemental function]], except for the transformational variant bessel_jn(n1, n2, x).
[[bessel_j0]], [[bessel_j1]], [[bessel_y0]], [[bessel_y1]], [[bessel_yn]]
bessel_jn (3) | March 18, 2019 |