00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #if !defined (octave_DAE_h)
00024 #define octave_DAE_h 1
00025
00026 #include "DAEFunc.h"
00027 #include "base-dae.h"
00028
00029 class
00030 DAE : public base_diff_alg_eqn, public DAEFunc
00031 {
00032 public:
00033
00034 DAE (void)
00035 : base_diff_alg_eqn (), DAEFunc () { }
00036
00037 DAE (const ColumnVector& xx, double tt, DAEFunc& f)
00038 : base_diff_alg_eqn (xx, tt), DAEFunc (f) { }
00039
00040 DAE (const ColumnVector& xx, const ColumnVector& xxdot,
00041 double tt, DAEFunc& f)
00042 : base_diff_alg_eqn (xx, xxdot, tt), DAEFunc (f) { }
00043
00044 DAE (const DAE& a)
00045 : base_diff_alg_eqn (a), DAEFunc (a){ }
00046
00047 DAE& operator = (const DAE& a)
00048 {
00049 if (this != &a)
00050 {
00051 base_diff_alg_eqn::operator = (a);
00052 DAEFunc::operator = (a);
00053 }
00054 return *this;
00055 }
00056
00057 ~DAE (void) { }
00058 };
00059
00060 #endif
00061
00062
00063
00064
00065
00066