GNU Octave  4.2.1
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-2017 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 "octave-config.h"
27 
28 #include "DAEFunc.h"
29 #include "base-dae.h"
30 
31 class
32 OCTAVE_API
33 DAE : public base_diff_alg_eqn, public DAEFunc
34 {
35 public:
36 
37  DAE (void)
38  : base_diff_alg_eqn (), DAEFunc () { }
39 
40  DAE (const ColumnVector& xx, double tt, DAEFunc& f)
41  : base_diff_alg_eqn (xx, tt), DAEFunc (f) { }
42 
43  DAE (const ColumnVector& xx, const ColumnVector& xxdot,
44  double tt, DAEFunc& f)
45  : base_diff_alg_eqn (xx, xxdot, tt), DAEFunc (f) { }
46 
47  DAE (const DAE& a)
48  : base_diff_alg_eqn (a), DAEFunc (a) { }
49 
50  DAE& operator = (const DAE& a)
51  {
52  if (this != &a)
53  {
56  }
57  return *this;
58  }
59 
60  virtual ~DAE (void) { }
61 };
62 
63 #endif
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &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 F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE * f
base_diff_alg_eqn & operator=(const base_diff_alg_eqn &a)
Definition: base-dae.h:50
DAE(const ColumnVector &xx, const ColumnVector &xxdot, double tt, DAEFunc &f)
Definition: DAE.h:43
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
Definition: cellfun.cc:398
DAE(void)
Definition: DAE.h:37
DAE(const ColumnVector &xx, double tt, DAEFunc &f)
Definition: DAE.h:40
DAEFunc & operator=(const DAEFunc &a)
Definition: DAEFunc.h:60
DAE(const DAE &a)
Definition: DAE.h:47
virtual ~DAE(void)
Definition: DAE.h:60
Definition: DAE.h:31