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
DASSL.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 1996-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_DASSL_h)
24 #define octave_DASSL_h 1
25 
26 #include "octave-config.h"
27 
28 #include <cfloat>
29 
30 #include "DASSL-opts.h"
31 
32 class
33 OCTAVE_API
34 DASSL : public DAE, public DASSL_options
35 {
36 public:
37 
38  DASSL (void)
39  : DAE (), DASSL_options (), initialized (false), liw (0), lrw (0),
40  info (), iwork (), rwork (), abs_tol (), rel_tol () { }
41 
42  DASSL (const ColumnVector& s, double tm, DAEFunc& f)
43  : DAE (s, tm, f), DASSL_options (), initialized (false), liw (0),
44  lrw (0), info (), iwork (), rwork (), abs_tol (), rel_tol () { }
45 
46  DASSL (const ColumnVector& s, const ColumnVector& deriv,
47  double tm, DAEFunc& f)
48  : DAE (s, deriv, tm, f), DASSL_options (), initialized (false),
49  liw (0), lrw (0), info (), iwork (), rwork (), abs_tol (),
50  rel_tol () { }
51 
52  ~DASSL (void) { }
53 
54  ColumnVector do_integrate (double t);
55 
56  Matrix do_integrate (const ColumnVector& tout);
57 
58  Matrix do_integrate (const ColumnVector& tout, const ColumnVector& tcrit);
59 
60  Matrix integrate (const ColumnVector& tout, Matrix& xdot_out);
61 
62  Matrix integrate (const ColumnVector& tout, Matrix& xdot_out,
63  const ColumnVector& tcrit);
64 
65  std::string error_message (void) const;
66 
67 private:
68 
70 
73 
76 
78 
81 };
82 
83 #endif
~DASSL(void)
Definition: DASSL.h:52
bool initialized
Definition: DASSL.h:69
Definition: DASSL.h:32
octave_idx_type liw
Definition: DASSL.h:71
DASSL(const ColumnVector &s, const ColumnVector &deriv, double tm, DAEFunc &f)
Definition: DASSL.h:46
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
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
Definition: ov-usr-fcn.cc:935
s
Definition: file-io.cc:2682
DASSL(void)
Definition: DASSL.h:38
Array< double > rel_tol
Definition: DASSL.h:80
is false
Definition: cellfun.cc:398
Definition: dMatrix.h:37
Array< double > abs_tol
Definition: DASSL.h:79
DASSL(const ColumnVector &s, double tm, DAEFunc &f)
Definition: DASSL.h:42
octave_idx_type lrw
Definition: DASSL.h:72
Definition: DAE.h:31
Array< double > rwork
Definition: DASSL.h:77
Array< octave_idx_type > iwork
Definition: DASSL.h:75
Array< octave_idx_type > info
Definition: DASSL.h:74
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
Definition: utils.cc:854