Set the function to be minimized.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(brent_class), | intent(inout) | :: | me | |||
procedure(func) | :: | f |
subroutine set_function(me,f) implicit none class(brent_class),intent(inout) :: me procedure(func) :: f me%f => f end subroutine set_function