GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Functions | Variables
DASRT-opts.cc File Reference
#include <iomanip>
#include <iostream>
#include "DASRT-opts.h"
#include "defun.h"
#include "pr-output.h"
#include "ovl.h"
#include "utils.h"
#include "pager.h"
Include dependency graph for DASRT-opts.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DASRT_options_struct
 

Macros

#define MAX_TOKENS   3
 
#define NUM_OPTIONS   6
 

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 Fdasrt_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_DASRT_options (std::ostream &os)
 
static void set_DASRT_options (const std::string &keyword, const octave_value &val)
 
static octave_value_list show_DASRT_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 DASRT_options_struct DASRT_options_table []
 
static DASRT_options dasrt_opts
 
OCTAVE_EXPORT
octave_value_list return the
value of the option 
ode {dasrt_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 
vector
 

Macro Definition Documentation

#define MAX_TOKENS   3

Definition at line 22 of file DASRT-opts.cc.

Referenced by set_DASRT_options(), and show_DASRT_options().

#define NUM_OPTIONS   6

Definition at line 32 of file DASRT-opts.cc.

Function Documentation

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 Fdasrt_options ( const octave_value_list args,
int   
)

Referenced by install_DASRT_opts_fcns().

static void print_DASRT_options ( std::ostream &  os)
static
static void set_DASRT_options ( const std::string keyword,
const octave_value val 
)
static
static octave_value_list show_DASRT_options ( const std::string keyword)
static

Variable Documentation

OCTAVE_EXPORT octave_value_list return the value of the option ar {opt}. When called with two arguments

Definition at line 347 of file DASRT-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 you can help to alleviate this problem by specifying an initial stepsize tem code {"relative tolerance"} Relative tolerance. May be either vector or scalar. If a vector

Definition at line 347 of file DASRT-opts.cc.

DASRT_options_struct DASRT_options_table[]
static
Initial value:
=
{
{ "absolute tolerance",
{ "absolute", "tolerance", 0, 0, },
{ 1, 0, 0, 0, }, 1, },
{ "relative tolerance",
{ "relative", "tolerance", 0, 0, },
{ 1, 0, 0, 0, }, 1, },
{ "initial step size",
{ "initial", "step", "size", 0, },
{ 1, 0, 0, 0, }, 1, },
{ "maximum order",
{ "maximum", "order", 0, 0, },
{ 1, 1, 0, 0, }, 2, },
{ "maximum step size",
{ "maximum", "step", "size", 0, },
{ 1, 1, 0, 0, }, 2, },
{ "step limit",
{ "step", "limit", 0, 0, },
{ 1, 0, 0, 0, }, 1, },
}

Definition at line 34 of file DASRT-opts.cc.

Referenced by print_DASRT_options(), set_DASRT_options(), and show_DASRT_options().

DASRT_options dasrt_opts
static

Definition at line 20 of file DASRT-opts.cc.

Referenced by DEFUN().

OCTAVE_EXPORT octave_value_list return the value of the option ode {dasrt_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 347 of file DASRT-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 347 of file DASRT-opts.cc.