objective_mod Module

module~~objective_mod~~UsesGraph module~objective_mod objective_mod module~kinds_mod kinds_mod module~kinds_mod->module~objective_mod module~optimize_mod optimize_mod module~kinds_mod->module~optimize_mod module~array_mod array_mod module~kinds_mod->module~array_mod module~text_mod text_mod module~kinds_mod->module~text_mod module~plplotlib_mod plplotlib_mod module~kinds_mod->module~plplotlib_mod module~time_mod time_mod module~kinds_mod->module~time_mod module~optimize_mod->module~objective_mod module~array_mod->module~objective_mod module~array_mod->module~optimize_mod module~array_mod->module~plplotlib_mod module~text_mod->module~objective_mod module~text_mod->module~plplotlib_mod module~plplotlib_mod->module~objective_mod module~time_mod->module~text_mod iso_fortran_env iso_fortran_env iso_fortran_env->module~text_mod iso_c_binding iso_c_binding iso_c_binding->module~time_mod plplot plplot plplot->module~plplotlib_mod
Help

Used By

module~~objective_mod~~UsedByGraph module~objective_mod objective_mod program~testoptimize_prg testOptimize_prg module~objective_mod->program~testoptimize_prg
Help


Variables

TypeVisibility AttributesNameInitial
integer, public :: kLog =1
real(kind=wp), public, dimension(1000,2):: xLog

Derived Types

type, public, extends(obj_t) :: test_t

Components

TypeVisibility AttributesNameInitial
integer, public :: derivativeOrder =2

Order of finite difference approximations

real(kind=wp), public :: stepSize =1.0E-3_wp

Step size for finite differences

Type-Bound Procedures

procedure, public :: der1
procedure, public :: der2
procedure, public :: rootNewton
procedure, public :: minNewton => minNewton_obj
procedure, public :: eval => eval_test

type, public, extends(objN_t) :: testN_t

Components

TypeVisibility AttributesNameInitial
real(kind=wp), public, dimension(2):: c0 =[2.0_wp, 3.0_wp]
real(kind=wp), public, dimension(2):: s0 =[1.0_wp, 2.0_wp]

Type-Bound Procedures

procedure, public :: eval => eval_testN

Functions

public function eval_test(self, x) result(o)

Arguments

Type IntentOptional AttributesName
class(test_t), intent(in) :: self
real(kind=wp), intent(in) :: x

Return Value real(kind=wp)

public function eval_testN(self, x) result(o)

Arguments

Type IntentOptional AttributesName
class(testN_t), intent(in) :: self
real(kind=wp), intent(in), dimension(:):: x

Must be dimension(2)

Return Value real(kind=wp)