GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <string>
#include <iomanip>
#include <iostream>
#include "DASSL.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 "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "DASSL-opts.cc"
Go to the source code of this file.
Macros | |
#define | DASSL_ABORT() return retval |
#define | DASSL_ABORT1(msg) |
#define | DASSL_ABORT2(fmt, arg) |
Functions | |
ColumnVector | dassl_user_function (const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires) |
Matrix | dassl_user_jacobian (const ColumnVector &x, const ColumnVector &xdot, double t, double cj) |
OCTAVE_EXPORT octave_value_list | Fdassl (const octave_value_list &args, int nargout) |
Variables | |
static int | call_depth = 0 |
static octave_function * | dassl_fcn |
static octave_function * | dassl_jac |
static bool | warned_fcn_imaginary = false |
static bool | warned_jac_imaginary = false |
#define DASSL_ABORT | ( | ) | return retval |
#define DASSL_ABORT1 | ( | msg | ) |
Definition at line 157 of file dassl.cc.
Referenced by Fdassl().
#define DASSL_ABORT2 | ( | fmt, | |
arg | |||
) |
ColumnVector dassl_user_function | ( | const ColumnVector & | x, |
const ColumnVector & | xdot, | ||
double | t, | ||
octave_idx_type & | ires | ||
) |
Definition at line 61 of file dassl.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 Fdassl().
Matrix dassl_user_jacobian | ( | const ColumnVector & | x, |
const ColumnVector & | xdot, | ||
double | t, | ||
double | cj | ||
) |
Definition at line 109 of file dassl.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 Fdassl().
OCTAVE_EXPORT octave_value_list Fdassl | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 273 of file dassl.cc.
References octave_value::all_strings(), Array< T >::capacity(), octave_value::cell_value(), clear_function(), DASSL_ABORT, DASSL_ABORT1, dassl_opts, dassl_user_function(), dassl_user_jacobian(), error(), DASSL::error_message(), error_state, extract_function(), octave_value::function_value(), DASSL::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(), Array< T >::length(), print_usage(), action_container::protect_var(), octave_value::rows(), DAEFunc::set_jacobian_function(), DASSL_options::set_options(), state, unique_symbol_name(), warned_fcn_imaginary, and warned_jac_imaginary.
|
static |
|
static |
|
static |
Definition at line 54 of file dassl.cc.
Referenced by dassl_user_function(), and Fdassl().
|
static |
Definition at line 55 of file dassl.cc.
Referenced by dassl_user_jacobian(), and Fdassl().