Manual Reference Pages  - bessel_yn (3fortran)

NAME

BESSEL_YN(3) - [MATHEMATICS] Bessel function of the second kind

SYNOPSIS

result = bessel_yn(n, x)

         elemental real(kind=KIND) function bessel_yn(n,x)

integer(kind=**),intent(in) :: n real(kind=KIND),intent(in) :: x

CHARACTERISTICS

o N is integer
o X is real
o The return value has the same type and kind as X.

        result = bessel_yn(n1, n2, x)

real(kind=KIND) function bessel_yn(n1, n2, ,x)

integer(kind=**),intent(in) :: n1 integer(kind=**),intent(in) :: n2 real(kind=KIND),intent(in) :: x

o N1 is integer
o N2 is integer
o X is real
o The return value has the same type and kind as X.

DESCRIPTION

BESSEL_YN(N, X) computes the Bessel function of the second kind of order N of X.

BESSEL_YN(N1, N2, X) returns an array with the Bessel function|Bessel functions of the first kind of the orders N1 to N2.

OPTIONS

o N : Shall be a scalar or an array of type integer and non-negative.
o N1 : Shall be a non-negative scalar of type integer and non-negative.
o N2 : Shall be a non-negative scalar of type integer and non-negative.
o X : A real non-negative value. Note BESSEL_YN(N1, N2, X) is not elemental, in which case it must be a scalar.

RESULT

The result value of BESSEL_YN (N, X) is a processor-dependent approximation to the Bessel function of the second kind and order N of X.

The result of BESSEL_YN (N1, N2, X) is a rank-one array with extent MAX (N2-N1+1, 0). Element i of the result value of BESSEL_YN (N1, N2, X) is a processor-dependent approximation to the Bessel function of the second kind and order N1+i-1 of X.

EXAMPLES

Sample program:

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

Results:

          1.0000000000000000       -260.40586662581222

STANDARD

Fortran 2008

SEE ALSO

BESSEL_J0(3), BESSEL_J1(3), BESSEL_JN(3), BESSEL_Y0(3), BESSEL_Y1(3)

fortran-lang intrinsic descriptions


Nemo Release 3.1 bessel_yn (3fortran) April 28, 2024
Generated by manServer 1.08 from a1f318f7-88dc-4954-94c3-fd509bfb609f using man macros.