GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iomanip>
#include <iostream>
#include "DASPK-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 | DASPK_options_struct |
Macros | |
#define | MAX_TOKENS 6 |
#define | NUM_OPTIONS 13 |
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 | Fdaspk_options (const octave_value_list &args, int) the names of all available options and their current values are displayed.Given one argument |
Restrict the maximum order of the solution method This option must be between | inclusive (default is 5).tem code |
static void | print_DASPK_options (std::ostream &os) |
Setting the maximum stepsize will avoid passing over very large | regions (default is not specified).nd table nd deftypefn */) |
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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first or to solve the | second (the default is 0, so you must provide a set of initial conditions that are consistent).If this option is set to a nonzero value |
static void | set_DASPK_options (const std::string &keyword, const octave_value &val) |
static octave_value_list | show_DASPK_options (const std::string &keyword) |
where you can help to alleviate this problem by specifying an initial | stepsize (default is computed automatically).tem code |
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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first or to solve the you must also set the premultiplied by the approximate Jacobian For the weighted RMS norm of this | vector (scaled by the error weights) must be less than ode |
Variables | |
Restrict the maximum order of the solution method This option must be between | and |
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 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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either | case |
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 |
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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first or to solve the you must also set the premultiplied by the approximate Jacobian For | convergence |
static DASPK_options_struct | DASPK_options_table [] |
static DASPK_options | daspk_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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are | input |
OCTAVE_EXPORT octave_value_list return the value of the option | ode {daspk_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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first | problem |
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state | 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 calculate Y_a and Y _d item Given | Y |
#define MAX_TOKENS 6 |
Definition at line 22 of file DASPK-opts.cc.
Referenced by set_DASPK_options(), and show_DASPK_options().
#define NUM_OPTIONS 13 |
Definition at line 32 of file DASPK-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 | ) |
Referenced by SparseComplexMatrix::abs(), norm_accumulator_p< R >::accum(), norm_accumulator_mp< R >::accum(), norm_accumulator_2< R >::accum(), norm_accumulator_1< R >::accum(), norm_accumulator_inf< R >::accum(), norm_accumulator_minf< R >::accum(), alngam(), alnrel(), asinh(), atanh(), octave::math::biry(), SparseComplexMatrix::bsolve(), cacon(), cairy(), axes::properties::calc_ticklabels(), casyi(), cbesh(), cbesi(), octave::math::cbesi(), cbesj(), octave::math::cbesj(), cbesy(), octave::math::cbesy(), cbiry(), cbknu(), cbuni(), cbunk(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), csevl(), cuchk(), cunhj(), cuni1(), cuni2(), cunik(), cunk1(), cunk2(), cuoik(), d9gmit(), d9lgic(), d9lgit(), dasinh(), datanh(), dcnstr(), dcsevl(), ddaini(), ddajac(), ddanrm(), ddaspk(), ddasrt(), ddassl(), ddastp(), ddawts(), ddstp(), ddwnrm(), derf(), derfc(), dgamit(), dgamlm(), dgamma(), dgamr(), dheqr(), Sparse< T >::diag(), Array< T >::diag(), SparseComplexMatrix::dinverse(), dlngam(), dlnrel(), dmatd(), dpchim(), dpsifn(), SparseComplexMatrix::dsolve(), dspigm(), EigsComplexNonSymmetricFunc(), EigsRealNonSymmetricFunc(), EigsRealSymmetricFunc(), elem_dual_p(), erf(), erfc(), exchqz(), octave::math::expm1(), extended_gcd(), Fabs(), gamit(), gamlim(), gamln(), gamma(), gamr(), genmul(), axes::properties::get_axis_limits(), higham_subp(), ichol_t(), ignbin(), ignpoi(), initds(), inits(), jcobi(), octave::math::log2(), SparseComplexMatrix::ltsolve(), LuAminusSigmaB(), magform(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), ComplexRowVector::max(), FloatComplexRowVector::max(), SparseComplexMatrix::max(), ComplexColumnVector::max(), FloatComplexColumnVector::max(), octave::math::max(), ComplexRowVector::min(), FloatComplexRowVector::min(), SparseComplexMatrix::min(), ComplexColumnVector::min(), FloatComplexColumnVector::min(), octave::math::min(), min(), octave::math::mod(), null(), pchim(), DiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), psifn(), qagie(), qagpe(), qelg(), qk15i(), qk21(), qp(), r9gmit(), r9lgic(), r9lgit(), ComplexDiagMatrix::rcond(), FloatComplexDiagMatrix::rcond(), octave::math::rem(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), TerminalView::scrollImage(), octave::math::select_dig(), sewset(), sexchqz(), sgamma(), octave::math::signum(), simple_gcd(), sintdy(), slsode(), sprepj(), ssolsy(), sstode(), SparseComplexMatrix::tinverse(), axes::properties::update_axes_layout(), axes::properties::update_camera(), figure::properties::update_papersize(), axes::properties::update_ticklength(), SparseComplexMatrix::utsolve(), xabs(), octave::math::xcbrt(), xclange(), xermsg(), xgammainc(), xsetf(), xsgammainc(), xzlange(), octave::math::zbesi(), octave::math::zbesj(), and octave::math::zbesy().
OCTAVE_EXPORT octave_value_list Fdaspk_options | ( | const octave_value_list & | args, |
int | |||
) |
Referenced by install_DASPK_opts_fcns().
Restrict the maximum order of the solution method This option must be between inclusive | ( | default is | 5 | ) |
Definition at line 739 of file DASPK-opts.cc.
|
static |
Definition at line 90 of file DASPK-opts.cc.
References DASPK_options::absolute_tolerance(), DASPK_options::algebraic_variables(), DASPK_options::compute_consistent_initial_condition(), DASPK_options_table, DASPK_options::enforce_inequality_constraints(), DASPK_options::exclude_algebraic_variables_from_error_test(), DASPK_options::inequality_constraint_types(), DASPK_options::initial_condition_heuristics(), DASPK_options::initial_step_size(), DASPK_options_struct::keyword, left, list, DASPK_options::maximum_order(), DASPK_options::maximum_step_size(), Array< T >::numel(), octave_print_internal(), DASPK_options::print_initial_condition_info(), DASPK_options::relative_tolerance(), tmp, DASPK_options::use_initial_condition_heuristics(), and val.
Definition at line 739 of file DASPK-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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first or to solve the second | ( | the default is | 0, |
so you must provide a set of initial conditions that are | consistent | ||
) |
Referenced by jit_info::execute(), octave_rand::initialize_ranlib_generators(), and Sparse< T >::Sparse().
|
static |
Definition at line 317 of file DASPK-opts.cc.
References DASPK_options_table, octave_value::double_value(), octave_value::int_value(), octave_value::int_vector_value(), keyword_almost_match(), list, MAX_TOKENS, DASPK_options::set_absolute_tolerance(), DASPK_options::set_algebraic_variables(), DASPK_options::set_compute_consistent_initial_condition(), DASPK_options::set_enforce_inequality_constraints(), DASPK_options::set_exclude_algebraic_variables_from_error_test(), DASPK_options::set_inequality_constraint_types(), DASPK_options::set_initial_condition_heuristics(), DASPK_options::set_initial_step_size(), DASPK_options::set_maximum_order(), DASPK_options::set_maximum_step_size(), DASPK_options::set_print_initial_condition_info(), DASPK_options::set_relative_tolerance(), DASPK_options::set_use_initial_condition_heuristics(), tmp, octave_value::vector_value(), and warning().
|
static |
Definition at line 419 of file DASPK-opts.cc.
References DASPK_options::absolute_tolerance(), DASPK_options::algebraic_variables(), DASPK_options::compute_consistent_initial_condition(), DASPK_options_table, DASPK_options::enforce_inequality_constraints(), DASPK_options::exclude_algebraic_variables_from_error_test(), DASPK_options::inequality_constraint_types(), DASPK_options::initial_condition_heuristics(), DASPK_options::initial_step_size(), keyword_almost_match(), list, MAX_TOKENS, DASPK_options::maximum_order(), DASPK_options::maximum_step_size(), Array< T >::numel(), DASPK_options::print_initial_condition_info(), DASPK_options::relative_tolerance(), retval, tmp, DASPK_options::use_initial_condition_heuristics(), val, and warning().
where you can help to alleviate this problem by specifying an initial stepsize | ( | default is computed | automatically | ) |
Definition at line 739 of file DASPK-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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first or to solve the you must also set the premultiplied by the approximate Jacobian For the weighted RMS norm of this vector | ( | scaled by the error | weights | ) |
Definition at line 739 of file DASPK-opts.cc.
Definition at line 739 of file DASPK-opts.cc.
Referenced by install_class_ops().
OCTAVE_EXPORT octave_value_list return the value of the option ar {opt}. When called with two arguments |
Definition at line 739 of file DASPK-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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either case |
Definition at line 739 of file DASPK-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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first or to solve the you must also set the code {"relative tolerance"} Relative tolerance. May be either vector or scalar. If a vector |
Definition at line 739 of file DASPK-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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first or to solve the you must also set the premultiplied by the approximate Jacobian For convergence |
Definition at line 739 of file DASPK-opts.cc.
|
static |
Definition at line 34 of file DASPK-opts.cc.
Referenced by print_DASPK_options(), set_DASPK_options(), and show_DASPK_options().
|
static |
Definition at line 20 of file DASPK-opts.cc.
Referenced by DEFUN().
static int input |
Definition at line 739 of file DASPK-opts.cc.
Referenced by octave::command_editor::do_insert_initial_input(), Gaudiodevinfo(), and QUIWidgetCreator::input_finished().
where ode {daspk_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 739 of file DASPK-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 calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are and initial guesses for the unknown components must also be provided as input Set this option to to solve the first problem |
Definition at line 739 of file DASPK-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 vector |
Definition at line 739 of file DASPK-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 calculate Y_a and Y _d item Given Y |
Definition at line 739 of file DASPK-opts.cc.
Referenced by do_bsxfun_op(), drawcn(), F__contourc__(), F__lin_interpn__(), pprsc(), and qp().