Overview
Comment:Iterations now counts function evaluations - so minimum is 2.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e506e8acbd90160b58fd7e5a7ab9f9da4f5ad50621eb0eaaad5145a7a6bf7003
User & Date: gawthrop@users.sourceforge.net on 1999-12-08 06:32:40.000
Other Links: branch diff | manifest | tags
Context
1999-12-08
06:42:31
Now ceases if |error|<criterion check-in: 3300f68723 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
06:32:40
Iterations now counts function evaluations - so minimum is 2. check-in: e506e8acbd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
05:56:52
Reordered the writing of the input and output.
Note that last value now discarded.
check-in: e450ae87aa user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
50
51
52
53
54
55
56
57

58
59
60
61
62
63
64
50
51
52
53
54
55
56

57
58
59
60
61
62
63
64







-
+







  n_th = length(free);
  error_old = inf;
  error=1e50;
  theta = theta_0;
  Theta = [];
  Error = [];
  Y = [];
  iterations = -1;
  iterations = 0;
  while (abs(error_old-error)>criterion)&&(iterations<max_iterations)
    iterations = iterations + 1;
    error_old_old = error_old;
    error_old = error;
    eval(sprintf("[t,y,y_theta] = \
	mtt_s%s(system_name,theta,free);",method)); # Simulate system


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]