BESSEL_J0(3) - [MATHEMATICS] Bessel function of the first kind of order 0
result = bessel_j0(x)
elemental real(kind=KIND) function bessel_j0(x)real(kind=KIND),intent(in) :: x
o KIND may be any KIND supported by the real type. o The result is the same type and kind as X.
BESSEL_J0(3) computes the Bessel function of the first kind of order 0 of X.
o X : The value to operate on.
the Bessel function of the first kind of order 0 of X. The result lies in the range -0.4027 <= BESSEL(0,X) <= 1.
Sample program:
program demo_bessel_j0 use, intrinsic :: iso_fortran_env, only : real32, real64, real128 implicit none real(kind=real64) :: x x = 0.0_real64 x = bessel_j0(x) write(*,*)x end program demo_bessel_j0Results:
> 1.0000000000000000
Fortran 2008
BESSEL_J1(3), BESSEL_JN(3), BESSEL_Y0(3), BESSEL_Y1(3), BESSEL_YN(3)
Fortran intrinsic descriptions
Nemo Release 3.1 | bessel_j0 (3fortran) | November 02, 2024 |