GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iomanip>
#include <iostream>
#include "DASSL-opts.h"
#include "defun.h"
#include "pr-output.h"
#include "ovl.h"
#include "utils.h"
#include "pager.h"
Go to the source code of this file.
Classes | |
struct | DASSL_options_struct |
Macros | |
#define | MAX_TOKENS 4 |
#define | NUM_OPTIONS 8 |
Functions | |
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup | abs (local error in x(i))< |
OCTAVE_EXPORT octave_value_list | Fdassl_options (const octave_value_list &args, int) the names of all available options and their current values are displayed.Given one argument |
static void | print_DASSL_options (std::ostream &os) |
static void | set_DASSL_options (const std::string &keyword, const octave_value &val) |
static octave_value_list | show_DASSL_options (const std::string &keyword) |
Variables | |
OCTAVE_EXPORT octave_value_list return the value of the option | ar {opt}. When called with two arguments |
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem | code {"relative tolerance"} Relative tolerance. May be either vector or scalar. If a vector |
static DASSL_options_struct | DASSL_options_table [] |
static DASSL_options | dassl_opts |
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value it is probably best to try leaving this option set to zero | first |
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value | However |
OCTAVE_EXPORT octave_value_list return the value of the option | ode {dassl_options} sets the option ar{opt} to value ar{val}. Options include able sis tem code{"absolute tolerance"} Absolute tolerance. May be either vector or scalar. If a vector |
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value it is probably best to try leaving this option set to zero and only setting it to a nonzero value if that doesn t work very well item | qcode {"initial step size"} Differential-algebraic problems may occasionally suffer from severe scaling difficulties on the first step. If you know a great deal about the scaling of your problem |
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state | vector |
#define MAX_TOKENS 4 |
Definition at line 22 of file DASSL-opts.cc.
Referenced by set_DASSL_options(), and show_DASSL_options().
#define NUM_OPTIONS 8 |
Definition at line 32 of file DASSL-opts.cc.
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup abs | ( | local error in | xi | ) |
OCTAVE_EXPORT octave_value_list Fdassl_options | ( | const octave_value_list & | args, |
int | |||
) |
Referenced by install_DASSL_opts_fcns().
|
static |
Definition at line 70 of file DASSL-opts.cc.
References DASSL_options::absolute_tolerance(), DASSL_options::compute_consistent_initial_condition(), DASSL_options_table, DASSL_options::enforce_nonnegativity_constraints(), DASSL_options::initial_step_size(), DASSL_options_struct::keyword, left, list, DASSL_options::maximum_order(), DASSL_options::maximum_step_size(), Array< T >::numel(), octave_print_internal(), DASSL_options::relative_tolerance(), DASSL_options::step_limit(), tmp, and val.
|
static |
Definition at line 201 of file DASSL-opts.cc.
References DASSL_options_table, octave_value::double_value(), octave_value::int_value(), keyword_almost_match(), list, MAX_TOKENS, DASSL_options::set_absolute_tolerance(), DASSL_options::set_compute_consistent_initial_condition(), DASSL_options::set_enforce_nonnegativity_constraints(), DASSL_options::set_initial_step_size(), DASSL_options::set_maximum_order(), DASSL_options::set_maximum_step_size(), DASSL_options::set_relative_tolerance(), DASSL_options::set_step_limit(), tmp, octave_value::vector_value(), and warning().
|
static |
Definition at line 268 of file DASSL-opts.cc.
References DASSL_options::absolute_tolerance(), DASSL_options::compute_consistent_initial_condition(), DASSL_options_table, DASSL_options::enforce_nonnegativity_constraints(), DASSL_options::initial_step_size(), keyword_almost_match(), list, MAX_TOKENS, DASSL_options::maximum_order(), DASSL_options::maximum_step_size(), Array< T >::numel(), DASSL_options::relative_tolerance(), retval, DASSL_options::step_limit(), val, and warning().
OCTAVE_EXPORT octave_value_list return the value of the option ar {opt}. When called with two arguments |
Definition at line 419 of file DASSL-opts.cc.
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem code {"relative tolerance"} Relative tolerance. May be either vector or scalar. If a vector |
Definition at line 419 of file DASSL-opts.cc.
|
static |
Definition at line 34 of file DASSL-opts.cc.
Referenced by print_DASSL_options(), set_DASSL_options(), and show_DASSL_options().
|
static |
Definition at line 20 of file DASSL-opts.cc.
Referenced by DEFUN().
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value it is probably best to try leaving this option set to zero first |
Definition at line 419 of file DASSL-opts.cc.
Referenced by octave::opengl_renderer::patch_tesselator::begin(), bisearch(), jit_convert_llvm::convert(), jit_info::execute(), jit_info::match(), symbol_info_list::parse_whos_line_format(), and octave::opengl_renderer::patch_tesselator::vertex().
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value However |
Definition at line 419 of file DASSL-opts.cc.
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup ode {dassl_options} sets the option ar{opt} to value ar{val}. Options include able sis tem code{"absolute tolerance"} Absolute tolerance. May be either vector or scalar. If a vector |
Definition at line 419 of file DASSL-opts.cc.
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value it is probably best to try leaving this option set to zero and only setting it to a nonzero value if that doesn t work very well item you can help to alleviate this problem by specifying an initial stepsize item qcode {"initial step size"} Differential-algebraic problems may occasionally suffer from severe scaling difficulties on the first step. If you know a great deal about the scaling of your problem |
Definition at line 419 of file DASSL-opts.cc.