func Interface

interface
private function func(me, x) result(f)

Arguments

Type IntentOptional Attributes Name
class(root_solver), intent(inout) :: me
real(kind=wp), intent(in) :: x

independant variable

Return Value real(kind=wp)

f(x)

Description

Interface to the function to be minimized (Object-oriented version). It should evaluate f(x) for any x in the interval (ax,bx)