GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>
#include <string>
#include "DASRT.h"
#include "lo-mappers.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "ov-fcn.h"
#include "ov-cell.h"
#include "pager.h"
#include "parse.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "DASRT-opts.cc"
Go to the source code of this file.
Macros | |
#define | DASRT_ABORT return retval |
#define | DASRT_ABORT1(msg) |
#define | DASRT_ABORT2(fmt, arg) |
Functions | |
static ColumnVector | dasrt_user_cf (const ColumnVector &x, double t) |
static ColumnVector | dasrt_user_f (const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &) |
static Matrix | dasrt_user_j (const ColumnVector &x, const ColumnVector &xdot, double t, double cj) |
OCTAVE_EXPORT octave_value_list | Fdasrt (const octave_value_list &args, int nargout) |
Variables | |
static int | call_depth = 0 |
static octave_function * | dasrt_cf |
static octave_function * | dasrt_f |
static octave_function * | dasrt_j |
static bool | warned_cf_imaginary = false |
static bool | warned_fcn_imaginary = false |
static bool | warned_jac_imaginary = false |
#define DASRT_ABORT1 | ( | msg | ) |
Definition at line 193 of file dasrt.cc.
Referenced by Fdasrt().
#define DASRT_ABORT2 | ( | fmt, | |
arg | |||
) |
Definition at line 201 of file dasrt.cc.
Referenced by Fdasrt().
|
static |
Definition at line 105 of file dasrt.cc.
References octave_base_value::do_multi_index_op(), error_state, gripe_user_supplied_eval(), octave_value_list::length(), Array< T >::length(), warned_cf_imaginary, warning(), and x.
Referenced by Fdasrt().
|
static |
Definition at line 61 of file dasrt.cc.
References Array< T >::capacity(), octave_base_value::do_multi_index_op(), error_state, gripe_user_supplied_eval(), octave_value_list::length(), Array< T >::length(), warned_fcn_imaginary, warning(), and x.
Referenced by Fdasrt().
|
static |
Definition at line 145 of file dasrt.cc.
References Array< T >::capacity(), octave_base_value::do_multi_index_op(), error_state, gripe_user_supplied_eval(), octave_value_list::length(), Array< T >::length(), warned_jac_imaginary, warning(), and x.
Referenced by Fdasrt().
OCTAVE_EXPORT octave_value_list Fdasrt | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 348 of file dasrt.cc.
References octave_value::cell_value(), clear_function(), DASRT_ABORT, DASRT_ABORT1, DASRT_ABORT2, dasrt_opts, dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), DASRT_result::deriv(), error(), DASRT::error_message(), error_state, extract_function(), octave_base_value::function_value(), octave_value::function_value(), DASRT::integrate(), base_diff_eqn::integration_ok(), base_diff_eqn::integration_state(), octave_value::is_cell(), octave_value::is_function_handle(), octave_value::is_inline_function(), is_valid_function(), Array< T >::length(), print_usage(), action_container::protect_var(), octave_value::rows(), DAERTFunc::set_constraint_function(), DAEFunc::set_jacobian_function(), DASRT_options::set_options(), DASRT_result::state(), state, DASRT_result::times(), unique_symbol_name(), warned_cf_imaginary, warned_fcn_imaginary, and warned_jac_imaginary.
|
static |
|
static |
|
static |
|
static |
Definition at line 55 of file dasrt.cc.
Referenced by dasrt_user_cf(), and Fdasrt().
|
static |
Definition at line 53 of file dasrt.cc.
Referenced by dasrt_user_f(), and Fdasrt().
|
static |
Definition at line 54 of file dasrt.cc.
Referenced by dasrt_user_j(), and Fdasrt().