Mercurial > hg > octave-nkf
changeset 303:20c1412d7924
[project @ 1994-01-18 19:43:29 by jwe]
author | jwe |
---|---|
date | Tue, 18 Jan 1994 19:43:37 +0000 |
parents | 676b70238e68 |
children | 307cb26c335f |
files | liboctave/DAE.h liboctave/DASSL.cc |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/DAE.h +++ b/liboctave/DAE.h @@ -49,12 +49,12 @@ Vector deriv (void); virtual void initialize (const Vector& x, double t); - virtual void initialize (const Vector& x, Vector& xdot, double t); + virtual void initialize (const Vector& x, const Vector& xdot, double t); Vector integrate (double t); - Matrix integrate (const Vector& tout, Matrix& xdot_out); - Matrix integrate (const Vector& tout, Matrix& xdot_out, + Matrix integrate (const Vector& tout, const Matrix& xdot_out); + Matrix integrate (const Vector& tout, const Matrix& xdot_out, const Vector& tcrit); protected:
--- a/liboctave/DASSL.cc +++ b/liboctave/DASSL.cc @@ -350,7 +350,7 @@ } Matrix -DAE::integrate (const Vector& tout, Matrix& xdot_out) +DAE::integrate (const Vector& tout, const Matrix& xdot_out) { Matrix retval; int n_out = tout.capacity (); @@ -385,7 +385,8 @@ } Matrix -DAE::integrate (const Vector& tout, Matrix& xdot_out, const Vector& tcrit) +DAE::integrate (const Vector& tout, const Matrix& xdot_out, + const Vector& tcrit) { Matrix retval; int n_out = tout.capacity ();