GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DAE.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 1993-2015 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if !defined (octave_DAE_h)
24 #define octave_DAE_h 1
25 
26 #include "DAEFunc.h"
27 #include "base-dae.h"
28 
29 class
30 OCTAVE_API
31 DAE : public base_diff_alg_eqn, public DAEFunc
32 {
33 public:
34 
35  DAE (void)
36  : base_diff_alg_eqn (), DAEFunc () { }
37 
38  DAE (const ColumnVector& xx, double tt, DAEFunc& f)
39  : base_diff_alg_eqn (xx, tt), DAEFunc (f) { }
40 
41  DAE (const ColumnVector& xx, const ColumnVector& xxdot,
42  double tt, DAEFunc& f)
43  : base_diff_alg_eqn (xx, xxdot, tt), DAEFunc (f) { }
44 
45  DAE (const DAE& a)
46  : base_diff_alg_eqn (a), DAEFunc (a) { }
47 
48  DAE& operator = (const DAE& a)
49  {
50  if (this != &a)
51  {
54  }
55  return *this;
56  }
57 
58  virtual ~DAE (void) { }
59 };
60 
61 #endif
base_diff_alg_eqn & operator=(const base_diff_alg_eqn &a)
Definition: base-dae.h:48
DAE(const ColumnVector &xx, const ColumnVector &xxdot, double tt, DAEFunc &f)
Definition: DAE.h:41
F77_RET_T const double const double * f
DAE(void)
Definition: DAE.h:35
DAE(const ColumnVector &xx, double tt, DAEFunc &f)
Definition: DAE.h:38
DAEFunc & operator=(const DAEFunc &a)
Definition: DAEFunc.h:58
DAE(const DAE &a)
Definition: DAE.h:45
virtual ~DAE(void)
Definition: DAE.h:58
Definition: DAE.h:29