GNU Octave
4.2.1
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 "errwarn.h"
#include "ovl.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.
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) |
DEFUN (dassl, args, nargout, doc:) | |
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 |
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 octave_base_value::do_multi_index_op(), e, err_user_supplied_eval(), Array< T >::is_empty(), octave_value_list::length(), Array< T >::numel(), retval, t, tmp, warning(), and x.
Referenced by DEFUN().
Matrix dassl_user_jacobian | ( | const ColumnVector & | x, |
const ColumnVector & | xdot, | ||
double | t, | ||
double | cj | ||
) |
Definition at line 110 of file dassl.cc.
References octave_base_value::do_multi_index_op(), e, err_user_supplied_eval(), Array< T >::is_empty(), octave_value_list::length(), Array< T >::numel(), retval, t, tmp, warning(), and x.
Referenced by DEFUN().
Definition at line 156 of file dassl.cc.
References c, octave_value::cell_value(), clear_function(), dassl_opts, dassl_user_function(), dassl_user_jacobian(), error(), DASSL::error_message(), extract_function(), fname, frame, 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(), nargin, nargout(), Array< T >::numel(), print_usage(), action_container::protect_var(), retval, octave_value::rows(), DAEFunc::set_jacobian_function(), DASSL_options::set_options(), state, string, octave_value::string_vector_value(), tmp, and unique_symbol_name().
|
static |
|
static |