Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(*), | private, | pointer | :: | priv_data | |||
procedure(obj_func), | private, | pointer | :: | priv_foo |
Wrapper derived type to optimize with the Powell method
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public, | allocatable | :: | parameter_step(:) | |||
real(kind=pr), | public | :: | solver_tolerance | = | 1e-9_pr | ||
logical, | public | :: | verbose |
procedure, public :: optimize => powell_optimize |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | n | ||||
real(kind=pr) | :: | x(*) | ||||
real(kind=pr) | :: | f |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(PowellWrapper), | intent(inout) | :: | self | |||
procedure(obj_func) | :: | foo | ||||
real(kind=pr), | intent(inout) | :: | X(:) | |||
real(kind=pr), | intent(out) | :: | F | |||
class(*), | intent(inout), | optional, | target | :: | data |