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
quad.cc File Reference
#include <string>
#include <iomanip>
#include <iostream>
#include "Quad.h"
#include "lo-mappers.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "pager.h"
#include "oct-obj.h"
#include "ov-fcn.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "Quad-opts.cc"
Include dependency graph for quad.cc:

Go to the source code of this file.

Macros

#define QUAD_ABORT()
#define QUAD_ABORT1(msg)
#define QUAD_ABORT2(fmt, arg)

Functions

OCTAVE_EXPORT octave_value_list Fquad (const octave_value_list &args, int nargout)
float quad_float_user_function (float x)
double quad_user_function (double x)

Variables

static int call_depth = 0
static octave_functionquad_fcn
static bool warned_imaginary = false

Macro Definition Documentation

#define QUAD_ABORT ( )
Value:
do \
{ \
if (fcn_name.length ()) \
clear_function (fcn_name); \
return retval; \
} \
while (0)

Definition at line 150 of file quad.cc.

Referenced by Fquad().

#define QUAD_ABORT1 (   msg)
Value:
do \
{ \
::error ("quad: " msg); \
QUAD_ABORT (); \
} \
while (0)

Definition at line 159 of file quad.cc.

Referenced by Fquad().

#define QUAD_ABORT2 (   fmt,
  arg 
)
Value:
do \
{ \
::error ("quad: " fmt, arg); \
QUAD_ABORT (); \
} \
while (0)

Definition at line 167 of file quad.cc.

Function Documentation

OCTAVE_EXPORT octave_value_list Fquad ( const octave_value_list args,
int  nargout 
)
float quad_float_user_function ( float  x)
double quad_user_function ( double  x)

Variable Documentation

int call_depth = 0
static

Definition at line 58 of file quad.cc.

octave_function* quad_fcn
static

Definition at line 52 of file quad.cc.

bool warned_imaginary = false
static

Definition at line 55 of file quad.cc.