GNU Octave  3.8.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
daspk.cc File Reference
#include <string>
#include <iomanip>
#include <iostream>
#include "DASPK.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 "DASPK-opts.cc"
Include dependency graph for daspk.cc:

Go to the source code of this file.

Macros

#define DASPK_ABORT()   return retval
#define DASPK_ABORT1(msg)
#define DASPK_ABORT2(fmt, arg)

Functions

ColumnVector daspk_user_function (const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires)
Matrix daspk_user_jacobian (const ColumnVector &x, const ColumnVector &xdot, double t, double cj)
OCTAVE_EXPORT octave_value_list Fdaspk (const octave_value_list &args, int nargout)

Variables

static int call_depth = 0
static octave_functiondaspk_fcn
static octave_functiondaspk_jac
static bool warned_fcn_imaginary = false
static bool warned_jac_imaginary = false

Macro Definition Documentation

#define DASPK_ABORT ( )    return retval

Definition at line 154 of file daspk.cc.

Referenced by Fdaspk().

#define DASPK_ABORT1 (   msg)
Value:
do \
{ \
::error ("daspk: " msg); \
DASPK_ABORT (); \
} \
while (0)

Definition at line 157 of file daspk.cc.

Referenced by Fdaspk().

#define DASPK_ABORT2 (   fmt,
  arg 
)
Value:
do \
{ \
::error ("daspk: " fmt, arg); \
DASPK_ABORT (); \
} \
while (0)

Definition at line 165 of file daspk.cc.

Function Documentation

ColumnVector daspk_user_function ( const ColumnVector x,
const ColumnVector xdot,
double  t,
octave_idx_type ires 
)
Matrix daspk_user_jacobian ( const ColumnVector x,
const ColumnVector xdot,
double  t,
double  cj 
)
OCTAVE_EXPORT octave_value_list Fdaspk ( const octave_value_list args,
int  nargout 
)

Variable Documentation

int call_depth = 0
static

Definition at line 58 of file daspk.cc.

Referenced by octave_user_function::active_context().

octave_function* daspk_fcn
static

Definition at line 48 of file daspk.cc.

octave_function* daspk_jac
static

Definition at line 51 of file daspk.cc.

bool warned_fcn_imaginary = false
static

Definition at line 54 of file daspk.cc.

bool warned_jac_imaginary = false
static

Definition at line 55 of file daspk.cc.