GNU Octave  4.2.1
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
__contourc__.cc File Reference
#include <cfloat>
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "ovl.h"
Include dependency graph for __contourc__.cc:

Go to the source code of this file.

Macros

#define CONTOUR_QUANT   50
 

Functions

static void add_point (double x, double y)
 
static void cntr (const RowVector &X, const RowVector &Y, const Matrix &Z, double lvl)
 
static void drawcn (const RowVector &X, const RowVector &Y, const Matrix &Z, double lvl, int r, int c, double ct_x, double ct_y, unsigned int start_edge, bool first, charMatrix &mark)
 
static void end_contour (void)
 
OCTAVE_EXPORT octave_value_list F__contourc__ (const octave_value_list &args, int)
 
static void mark_facets (const Matrix &Z, charMatrix &mark, double lvl)
 
static void start_contour (double lvl, double x, double y)
 

Variables

static Matrix contourc
 
static int elem
 
static Matrix this_contour
 

Macro Definition Documentation

#define CONTOUR_QUANT   50

Definition at line 53 of file __contourc__.cc.

Referenced by add_point().

Function Documentation

static void add_point ( double  x,
double  y 
)
static

Definition at line 58 of file __contourc__.cc.

References Matrix::append(), CONTOUR_QUANT, this_contour, x, and y.

Referenced by drawcn(), and start_contour().

static void cntr ( const RowVector X,
const RowVector Y,
const Matrix Z,
double  lvl 
)
static

Definition at line 262 of file __contourc__.cc.

References c, Array< T >::cols(), drawcn(), mark_facets(), and Array< T >::rows().

Referenced by F__contourc__().

static void drawcn ( const RowVector X,
const RowVector Y,
const Matrix Z,
double  lvl,
int  r,
int  c,
double  ct_x,
double  ct_y,
unsigned int  start_edge,
bool  first,
charMatrix mark 
)
static

Definition at line 96 of file __contourc__.cc.

References add_point(), Array< T >::cols(), id, octave::math::isnan(), k, Array< T >::rows(), start_contour(), tmp, Y, and Z.

Referenced by cntr().

static void end_contour ( void  )
static

Definition at line 72 of file __contourc__.cc.

References Matrix::append(), Matrix::extract_n(), and this_contour.

Referenced by F__contourc__(), and start_contour().

OCTAVE_EXPORT octave_value_list F__contourc__ ( const octave_value_list args,
int   
)
static void mark_facets ( const Matrix Z,
charMatrix mark,
double  lvl 
)
static

Definition at line 215 of file __contourc__.cc.

References c, Array< T >::cols(), f, Array< T >::rows(), and Z.

Referenced by cntr().

static void start_contour ( double  lvl,
double  x,
double  y 
)
static

Definition at line 87 of file __contourc__.cc.

References add_point(), end_contour(), and Matrix::resize().

Referenced by drawcn().

Variable Documentation

Matrix contourc
static

Definition at line 49 of file __contourc__.cc.

int elem
static
Matrix this_contour
static

Definition at line 48 of file __contourc__.cc.

Referenced by add_point(), and end_contour().