bessel_yn(3f) - [FORTRAN:INTRINSIC:MATHEMATICS] Bessel function of the second kind
o result = bessel_yn(n, x) o result = bessel_yn(n1, n2, x)
bessel_yn(n, x) computes the [[Bessel function]] of the second kind of order N of X. If N and X are arrays, their ranks and shapes shall conform.bessel_yn(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_yn(n1, n2, x) it shall be scalar.
The return value is REAL. It has the same kind as X.
Sample program:
program demo_besyn use, intrinsic :: iso_fortran_env, only : real_kinds, & & real32, real64, real128 implicit none real(kind=real64) :: x = 1.0_real64 x = bessel_yn(5,x) end program demo_besyn
[[Fortran 2008]] and later
[[Elemental function]], except for the transformational function bessel_yn(n1, n2, x)
bessel_j0(3), bessel_j1(3), bessel_jn(3), bessel_y0(3), bessel_y1(3)
bessel_yn (3) | March 11, 2021 |