bessely0 Function

public function bessely0(x)

Bessel function of the second kind of order zero .

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x

Return Value real(kind=wp)


Calls

proc~~bessely0~~CallsGraph proc~bessely0 bessely0 proc~caljy0 caljy0 proc~bessely0->proc~caljy0 proc~nan nan proc~bessely0->proc~nan proc~ninf ninf proc~bessely0->proc~ninf

Source Code

  real(wp) function bessely0(x)
    !! Bessel function of the second kind of order zero \(Y_0(x)\).
    !
    !! \(\lbrace x \in \mathbb{R} \mid x \gt 0 \rbrace\)

    real(wp), intent(in) :: x

    if (x < 0) then
      bessely0 = nan()
    else
      call caljy0(x, bessely0, 1)
      if (bessely0 <= -huge(0.0_wp)) then
        bessely0 = ninf()
      end if
    end if
  end function bessely0