Mercurial > octave
comparison scripts/ode/ode45.m @ 21634:96518f623c91
Backed out changeset dcf8922b724b
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 20 Apr 2016 11:06:03 -0700 |
parents | dcf8922b724b |
children | 0f3e875d9078 |
comparison
equal
deleted
inserted
replaced
21633:dcf8922b724b | 21634:96518f623c91 |
---|---|
344 ndecomps = 0; # number of LU decompositions | 344 ndecomps = 0; # number of LU decompositions |
345 npds = 0; # number of partial derivatives | 345 npds = 0; # number of partial derivatives |
346 nlinsols = 0; # no. of linear systems solutions | 346 nlinsols = 0; # no. of linear systems solutions |
347 ## Print cost statistics if no output argument is given | 347 ## Print cost statistics if no output argument is given |
348 if (nargout == 0) | 348 if (nargout == 0) |
349 fprintf ("Number of successful steps: %d\n", nsteps); | 349 printf ("Number of successful steps: %d\n", nsteps); |
350 fprintf ("Number of failed attempts: %d\n", nfailed); | 350 printf ("Number of failed attempts: %d\n", nfailed); |
351 fprintf ("Number of function calls: %d\n", nfevals); | 351 printf ("Number of function calls: %d\n", nfevals); |
352 endif | 352 endif |
353 else | 353 else |
354 havestats = false; | 354 havestats = false; |
355 endif | 355 endif |
356 | 356 |