-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconjugate_min_prototypes.h
48 lines (41 loc) · 1.82 KB
/
conjugate_min_prototypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef DEF_CONJUGATE_MIN_PROTOTYPES
#define DEF_CONJUGATE_MIN_PROTOTYPES
public conjugate_min conjugate_min_initialize(
int n_parameters,
Real initial[],
Real (*function) ( Real [], void * ),
void (*deriv_function) ( Real [], void *, Real [] ),
void *function_data,
Real termination_range_tolerance,
Real termination_domain_tolerance,
Real line_min_range_tolerance,
Real line_min_domain_tolerance,
int max_iterations,
int max_restarts,
Real *current_value );
public BOOLEAN conjugate_min_do_one_iteration(
conjugate_min conj,
Real *resulting_value );
public void conjugate_min_get_current_position(
conjugate_min conj,
Real parameters[] );
public int conjugate_min_get_n_iterations(
conjugate_min conj );
public void conjugate_min_print_iteration_info(
conjugate_min conj );
public void conjugate_min_terminate(
conjugate_min conj );
public Real conjugate_minimize_function(
int n_parameters,
Real initial[],
Real (*function) ( Real [], void * ),
void (*deriv_function) ( Real [], void *, Real [] ),
void *function_data,
Real termination_range_tolerance,
Real termination_domain_tolerance,
Real line_min_range_tolerance,
Real line_min_domain_tolerance,
int max_iterations,
int max_restarts,
Real solution[] );
#endif