23 #if ! defined (octave_base_de_h) 24 #define octave_base_de_h 1 26 #include "octave-config.h" 38 :
x (),
t (0.0), stop_time (0.0), stop_time_set (
false),
39 restart (true), integration_error (
false), istate (0) { }
42 :
x (xx),
t (tt), stop_time (0.0), stop_time_set (
false),
43 restart (true), integration_error (
false), istate (0) { }
46 :
x (
a.
x),
t (
a.
t), stop_time (0.0), stop_time_set (
false),
47 restart (true), integration_error (
false), istate (0) { }
57 stop_time =
a.stop_time;
58 stop_time_set =
a.stop_time_set;
60 integration_error =
a.integration_error;
71 integration_error =
false;
80 double time (
void)
const {
return t; }
91 stop_time_set =
false;
101 virtual std::string error_message (
void)
const = 0;
void initialize(const ColumnVector &x0, double t0)
ColumnVector state(void) const
octave_idx_type integration_state(void) const
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
bool integration_ok(void) const
octave_idx_type size(void) const
virtual void force_restart(void)
void set_stop_time(double tt)
base_diff_eqn(const ColumnVector &xx, double tt)
void clear_stop_time(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
base_diff_eqn(const base_diff_eqn &a)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x