Mercurial > octave-nkf
view doc/liboctave/dae.texi @ 20596:87b557ee8e5d
clean up and vectorize code for dense output in ode45
* scripts/ode/private/ode_rk_interpolate.m: new file
* scripts/ode/private/ode_rk_interpolate.m(hermite_quartic_interpolation):
move to internal function, use vectorization and broadcasting.
* scripts/ode/private/hermite_quartic_interpolation.m: remove file
* scripts/ode/module.mk: list added and removed files
* scripts/ode/private/integrate_adaptive.m: use new interpolation code.
author | Carlo de Falco <carlo.defalco@polimi.it> |
---|---|
date | Tue, 06 Oct 2015 19:28:59 +0200 |
parents | 4197fc428c7d |
children |
line wrap: on
line source
@c Copyright (C) 1996-2015 John W. Eaton @c @c This file is part of Octave. @c @c Octave is free software; you can redistribute it and/or modify it @c under the terms of the GNU General Public License as published by the @c Free Software Foundation; either version 3 of the License, or (at @c your option) any later version. @c @c Octave is distributed in the hope that it will be useful, but WITHOUT @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License @c for more details. @c @c You should have received a copy of the GNU General Public License @c along with Octave; see the file COPYING. If not, see @c <http://www.gnu.org/licenses/>. @node Differential Algebraic Equations, Error Handling, Ordinary Differential Equations, Top @chapter Differential Algebraic Equations @cindex DAE @deftypefn {} {} DAE (void) @deftypefnx {} {} DAE (int @var{n}) @deftypefnx {} {} DAE (const ColumnVector &@var{x}, double @var{time}, DAEFunc &@var{f}) @deftypefnx {} {} DAE (const ColumnVector &@var{x}, ColumnVector &@var{xdot}, double @var{time}, DAEFunc &@var{f}) @end deftypefn @deftypefn {} ColumnVector deriv (void) @end deftypefn @deftypefn {} {virtual void} initialize (const ColumnVector &@var{x}, double @var{t}) @deftypefnx {} {virtual void} initialize (const ColumnVector &@var{x}, ColumnVector &@var{xdot}, double @var{t}) @end deftypefn @deftypefn {} ColumnVector integrate (double @var{t}) @end deftypefn @deftypefn {} Matrix integrate (const ColumnVector &@var{tout}, Matrix &@var{xdot_out}) @deftypefnx {} Matrix integrate (const ColumnVector &@var{tout}, Matrix &@var{xdot_out}, const ColumnVector &@var{tcrit}) @end deftypefn