F2 Function

public function F2(x) result(F_val)

Arguments

Type IntentOptional Attributes Name
complex(kind=rk), intent(in) :: x

Return Value complex(kind=rk)


Source Code

   function F2(x) result(F_val)
      complex(rk), intent(in) :: x
      complex(rk) :: F_val
      F_val = 5.0_rk * x**3 + 8.0_rk * x - 5.0_rk
   end function F2