#
Fortran Wiki

bessel_yn

## Description

`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 functions of the first kind of the orders `n1`

to `n2`

.

## Standard

Fortran 2008 and later

## Class

Elemental function, except for the transformational function `bessel_yn(n1, n2, x)`

## Syntax

```
result = bessel_yn(n, x)
result = bessel_yn(n1, n2, x)
```

## 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_yn(n1, n2, x)`

it shall be scalar.

## Return value

The return value is `real`

. It has the same kind as `x`

.

## Example

```
program test_besyn
real(8) :: x = 1.0_8
x = bessel_yn(5,x)
end program test_besyn
```

## See also

bessel_j0, bessel_j1, bessel_jn, bessel_y0, bessel_y1

Revised on April 4, 2016 12:30:52
by

Jason Blevins
(128.146.137.52)
(1250 characters / 0.0 pages)