[UP]


Manual Reference Pages  - bessel_jn (3)

NAME

bessel_jn(3f) - [FORTRAN:INTRINSIC:MATHEMATICS] Bessel function of the first kind

SYNTAX

o result = bessel_jn(n, x)
o result = bessel_jn(n1, n2, x)

DESCRIPTION

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.

ARGUMENTS

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.

RETURN VALUE

The return value is a scalar of type REAL. It has the same kind as X.

EXAMPLE

Sample program:

   program demo_besjn
   use, intrinsic :: iso_fortran_env, only : real_kinds, &
   & real32, real64, real128
   implicit none
   real(kind=real64) :: x = 1.0_real64
     x = bessel_jn(5,x)
   end program demo_besjn

STANDARD

[[Fortran 2008]] and later

CLASS

[[Elemental function]], except for the transformational variant bessel_jn(n1, n2, x).

SEE ALSO

bessel_j0(3), bessel_j1(3), bessel_y0(3), bessel_y1(3), bessel_yn(3)


bessel_jn (3) March 11, 2021
Generated by manServer 1.08 from 8b24daa3-9101-4ea8-b530-4ee4fcbff5c4 using man macros.