Fortran Wiki
bessel_j1

Description

bessel_j1(x) computes the Bessel function of the first kind of order 1 of x.

Standard

Fortran 2008 and later

Class

Elemental function

Syntax

result = bessel_j1(x)

Arguments

  • x - The type shall be real, and it shall be scalar.

Return value

The return value is of type real and it lies in the range 0.5818...Bessel(0,x)0.5818- 0.5818... \leq Bessel (0,x) \leq 0.5818 . It has the same kind as x.

Example

program test_besj1
  real(8) :: x = 1.0_8
  x = bessel_j1(x)
end program test_besj1

category: intrinsics