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 "LSODE.h"
#include "lo-mappers.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 "pr-output.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "LSODE-opts.cc"
Go to the source code of this file.
Functions | |
DEFUN (lsode, args, nargout, doc:) | |
ColumnVector | lsode_user_function (const ColumnVector &x, double t) |
Matrix | lsode_user_jacobian (const ColumnVector &x, double t) |
Variables | |
static int | call_depth = 0 |
static octave_function * | lsode_fcn |
static octave_function * | lsode_jac |
static bool | warned_fcn_imaginary = false |
static bool | warned_jac_imaginary = false |
Definition at line 142 of file lsode.cc.
References c, octave_value::cell_value(), clear_function(), error(), LSODE::error_message(), extract_function(), fname, frame, octave_value::function_value(), ODE::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(), lsode_opts, lsode_user_function(), lsode_user_jacobian(), nargin, nargout(), Array< T >::numel(), ode, print_usage(), action_container::protect_var(), retval, octave_value::rows(), ODEFunc::set_jacobian_function(), LSODE_options::set_options(), state, string, octave_value::string_vector_value(), tmp, and unique_symbol_name().
ColumnVector lsode_user_function | ( | const ColumnVector & | x, |
double | t | ||
) |
Definition at line 63 of file lsode.cc.
References octave_base_value::do_multi_index_op(), e, octave_value_list::empty(), err_user_supplied_eval(), Array< T >::is_empty(), retval, t, tmp, warning(), and x.
Referenced by DEFUN().
Matrix lsode_user_jacobian | ( | const ColumnVector & | x, |
double | t | ||
) |
Definition at line 103 of file lsode.cc.
References octave_base_value::do_multi_index_op(), e, octave_value_list::empty(), err_user_supplied_eval(), Array< T >::is_empty(), retval, t, tmp, warning(), and x.
Referenced by DEFUN().
|
static |
|
static |