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
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)
void clear_function(const std::string &nm)
Definition: variables.cc:77

Definition at line 150 of file quad.cc.

Referenced by Fquad().

#define QUAD_ABORT1 (   msg)
Value:
do \
{ \
::error ("quad: " msg); \
} \
while (0)
void error(const char *fmt,...)
Definition: error.cc:476
#define QUAD_ABORT()
Definition: quad.cc:150

Definition at line 159 of file quad.cc.

Referenced by Fquad().

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

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.

Referenced by Fquad(), quad_float_user_function(), and quad_user_function().