comparison scripts/ode/private/integrate_n_steps.m @ 20580:25623ef2ff4f

doc: Rewrite docstrings for ode* family of functions. * scripts/ode/module.mk: Remove extra newline. * ode45.m, odeget.m, odeset.m: Rewrite docstrings. * AbsRel_Norm.m, fuzzy_compare.m, hermite_quartic_interpolation.m, integrate_adaptive.m, integrate_const.m, integrate_n_steps.m, kahan.m, ode_struct_value_check.m, odepkg_event_handle.m, odepkg_structure_check.m, runge_kutta_45_dorpri.m, starting_stepsize.m: Don't break @deftypefn lines. Wrap lines at 80 columns rather than 72.
author Rik <rik@octave.org>
date Sat, 03 Oct 2015 21:03:16 -0700
parents 6256f6e366ac
children eb9e2d187ed2
comparison
equal deleted inserted replaced
20579:52ce821a52fd 20580:25623ef2ff4f
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, see 16 ## along with Octave; see the file COPYING. If not, see
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Command} {[@var{t}, @var{y}] =} integrate_n_steps 20 ## @deftypefn {Function File} {[@var{t}, @var{y}] =} integrate_n_steps (@var{@@stepper}, @var{@@fun}, @var{t0}, @var{x0}, @var{dt}, @var{n}, @var{options})
21 ## (@var{@@stepper}, @var{@@fun}, @var{t0}, @var{x0}, @var{dt}, @var{n},
22 ## @var{options})
23 ## 21 ##
24 ## This function file can be called by an ODE solver function in order to 22 ## This function file can be called by an ODE solver function in order to
25 ## integrate the set of ODEs on the interval @var{[t0,t0 + n*dt]} with a 23 ## integrate the set of ODEs on the interval @var{[t0,t0 + n*dt]} with a
26 ## constant timestep dt and on a fixed number of steps. 24 ## constant timestep dt and on a fixed number of steps.
27 ## 25 ##
32 ## each row of @var{y} contains the values of all unknowns at the time 30 ## each row of @var{y} contains the values of all unknowns at the time
33 ## value contained in the corresponding row in @var{t}. 31 ## value contained in the corresponding row in @var{t}.
34 ## 32 ##
35 ## The first input argument must be a function_handle or an inline function 33 ## The first input argument must be a function_handle or an inline function
36 ## representing the stepper, that is the function responsible for step-by-step 34 ## representing the stepper, that is the function responsible for step-by-step
37 ## integration. This function discriminates one method from the others. 35 ## integration. This function discriminates one method from the others.
38 ## 36 ##
39 ## The second input argument is the order of the stepper. It is needed 37 ## The second input argument is the order of the stepper. It is needed to
40 ## to compute the adaptive timesteps. 38 ## compute the adaptive timesteps.
41 ## 39 ##
42 ## The third input argument is a function_handle or an inline function 40 ## The third input argument is a function_handle or an inline function that
43 ## that defines the set of ODE: 41 ## defines the set of ODE:
44 ## 42 ##
45 ## @ifhtml 43 ## @ifhtml
46 ## @example 44 ## @example
47 ## @math{y' = f(t,y)} 45 ## @math{y' = f(t,y)}
48 ## @end example 46 ## @end example