-
Notifications
You must be signed in to change notification settings - Fork 0
/
set_cmpt.m
58 lines (53 loc) · 975 Bytes
/
set_cmpt.m
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
49
50
51
52
53
54
55
% initialise les compteurs d'appels à zéro
% nombre d'appels
% nombre iterations
% convergence vers un point en fonction:
% - point départ
% - variation des paramètres (abcd grec)
% comparer les differentes methodes selon les parametres
global n_c1;
n_c1 = 0;
global n_c2;
n_c2 = 0;
global n_der_phi1;
n_der_phi1 = 0;
global n_der_phi2;
n_der_phi2 = 0;
global n_der_phi_ms;
n_der_phi_ms = 0;
global n_f1;
n_f1 = 0;
global n_f2;
n_f2 = 0;
global n_grad_c1;
n_grad_c1 = 0;
global n_grad_c2;
n_grad_c2 = 0;
global n_grad_f1;
n_grad_f1 = 0;
global n_grad_f2;
n_grad_f2 = 0;
global n_grad_La;
n_grad_La = 0;
global n_hess_c1;
n_hess_c1 = 0;
global n_hess_c2;
n_hess_c2 = 0;
global n_hess_f1;
n_hess_f1 = 0;
global n_hess_f2;
n_hess_f2 = 0;
global n_hess_La;
n_hess_La = 0;
global n_jacob_c1;
n_jacob_c1 = 0;
global n_jacob_c2;
n_jacob_c2 = 0;
global n_La;
n_La = 0;
global n_phi1;
n_phi1 = 0;
global n_phi2;
n_phi2 = 0;
global n_phi_ms;
n_phi_ms = 0;