GNU Octave  4.0.0
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
Macros | Functions | Variables
dassl.cc File Reference
#include <string>
#include <iomanip>
#include <iostream>
#include "DASSL.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.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"
Include dependency graph for dassl.cc:

Go to the source code of this file.

Macros

#define DASSL_ABORT()   return retval
 
#define DASSL_ABORT1(msg)
 
#define DASSL_ABORT2(fmt, arg)
 

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)
 
OCTAVE_EXPORT octave_value_list Fdassl (const octave_value_list &args, int nargout)
 

Variables

static int call_depth = 0
 
static octave_functiondassl_fcn
 
static octave_functiondassl_jac
 
static bool warned_fcn_imaginary = false
 
static bool warned_jac_imaginary = false
 

Macro Definition Documentation

#define DASSL_ABORT ( )    return retval

Definition at line 154 of file dassl.cc.

Referenced by Fdassl().

#define DASSL_ABORT1 (   msg)
Value:
do \
{ \
::error ("dassl: " msg); \
} \
while (0)
void error(const char *fmt,...)
Definition: error.cc:476
#define DASSL_ABORT()
Definition: dassl.cc:154

Definition at line 157 of file dassl.cc.

Referenced by Fdassl().

#define DASSL_ABORT2 (   fmt,
  arg 
)
Value:
do \
{ \
::error ("dassl: " fmt, arg); \
} \
while (0)
void error(const char *fmt,...)
Definition: error.cc:476
double arg(double x)
Definition: lo-mappers.h:37
#define DASSL_ABORT()
Definition: dassl.cc:154

Definition at line 165 of file dassl.cc.

Function Documentation

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 
)
OCTAVE_EXPORT octave_value_list Fdassl ( const octave_value_list args,
int  nargout 
)

Variable Documentation

int call_depth = 0
static

Definition at line 58 of file dassl.cc.

octave_function* dassl_fcn
static

Definition at line 48 of file dassl.cc.

octave_function* dassl_jac
static

Definition at line 51 of file dassl.cc.

bool warned_fcn_imaginary = false
static

Definition at line 54 of file dassl.cc.

Referenced by dassl_user_function(), and Fdassl().

bool warned_jac_imaginary = false
static

Definition at line 55 of file dassl.cc.

Referenced by dassl_user_jacobian(), and Fdassl().