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
lsode.cc File Reference
#include <string>
#include <iomanip>
#include <iostream>
#include "LSODE.h"
#include "lo-mappers.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 "pr-output.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "LSODE-opts.cc"
Include dependency graph for lsode.cc:

Go to the source code of this file.

Macros

#define LSODE_ABORT()   return retval
 
#define LSODE_ABORT1(msg)
 
#define LSODE_ABORT2(fmt, arg)
 

Functions

OCTAVE_EXPORT octave_value_list Flsode (const octave_value_list &args, int nargout)
 
ColumnVector lsode_user_function (const ColumnVector &x, double t)
 
Matrix lsode_user_jacobian (const ColumnVector &x, double t)
 

Variables

static int call_depth = 0
 
static octave_functionlsode_fcn
 
static octave_functionlsode_jac
 
static bool warned_fcn_imaginary = false
 
static bool warned_jac_imaginary = false
 

Macro Definition Documentation

#define LSODE_ABORT ( )    return retval

Definition at line 140 of file lsode.cc.

Referenced by Flsode().

#define LSODE_ABORT1 (   msg)
Value:
do \
{ \
::error ("lsode: " msg); \
} \
while (0)
void error(const char *fmt,...)
Definition: error.cc:476
#define LSODE_ABORT()
Definition: lsode.cc:140

Definition at line 143 of file lsode.cc.

Referenced by Flsode().

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

Definition at line 151 of file lsode.cc.

Function Documentation

OCTAVE_EXPORT octave_value_list Flsode ( const octave_value_list args,
int  nargout 
)
ColumnVector lsode_user_function ( const ColumnVector x,
double  t 
)
Matrix lsode_user_jacobian ( const ColumnVector x,
double  t 
)

Variable Documentation

int call_depth = 0
static

Definition at line 60 of file lsode.cc.

octave_function* lsode_fcn
static

Definition at line 50 of file lsode.cc.

octave_function* lsode_jac
static

Definition at line 53 of file lsode.cc.

bool warned_fcn_imaginary = false
static

Definition at line 56 of file lsode.cc.

Referenced by Flsode(), and lsode_user_function().

bool warned_jac_imaginary = false
static

Definition at line 57 of file lsode.cc.

Referenced by Flsode(), and lsode_user_jacobian().