#include <cfloat>
#include "quit.h"
#include "defun-dld.h"
#include "error.h"
#include "oct-obj.h"
Go to the source code of this file.
Defines | |
#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) |
DEFUN_DLD (__contourc__, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} __contourc__ (@var{x}, @var{y}, @var{z}, @var{levels})\n\ Undocumented internal function.\n\ @end deftypefn") | |
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) |
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 |
#define CONTOUR_QUANT 50 |
Definition at line 52 of file __contourc__.cc.
Referenced by add_point().
Definition at line 57 of file __contourc__.cc.
References Matrix::append(), CONTOUR_QUANT, and this_contour.
Referenced by drawcn(), and start_contour().
static void cntr | ( | const RowVector & | X, | |
const RowVector & | Y, | |||
const Matrix & | Z, | |||
double | lvl | |||
) | [static] |
Definition at line 263 of file __contourc__.cc.
References Array< T >::cols(), drawcn(), mark_facets(), and Array< T >::rows().
Referenced by DEFUN_DLD().
DEFUN_DLD | ( | __contourc__ | , | |
args | ||||
) |
Definition at line 302 of file __contourc__.cc.
References cntr(), end_contour(), error(), error_state, Array< T >::length(), print_usage(), Matrix::resize(), and Z.
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 95 of file __contourc__.cc.
References add_point(), Array< T >::cols(), Array< T >::rows(), start_contour(), xisnan(), and Z.
Referenced by cntr().
static void end_contour | ( | void | ) | [static] |
Definition at line 71 of file __contourc__.cc.
References Matrix::append(), Matrix::extract_n(), and this_contour.
Referenced by DEFUN_DLD(), and start_contour().
static void mark_facets | ( | const Matrix & | Z, | |
charMatrix & | mark, | |||
double | lvl | |||
) | [static] |
Definition at line 216 of file __contourc__.cc.
References Array< T >::cols(), f, Array< T >::rows(), and Z.
Referenced by cntr().
Definition at line 86 of file __contourc__.cc.
References add_point(), end_contour(), and Matrix::resize().
Referenced by drawcn().
Definition at line 48 of file __contourc__.cc.
Definition at line 49 of file __contourc__.cc.
Referenced by dim_vector::all_zero(), dim_vector::any_neg(), dim_vector::any_zero(), dim_vector::as_column(), dim_vector::as_row(), Sparse< bool >::checkelem(), DiagArray2< Complex >::checkelem(), DEFUN_DLD(), dim_vector::empty_2d(), dim_vector::first_non_singleton(), dim_vector::is_vector(), string_vector::max_length(), dim_vector::numel(), octave_value_list::operator()(), Sparse< bool >::operator()(), dim_vector::operator()(), DiagArray2< Complex >::operator()(), Array< octave_value >::operator()(), and dim_vector::zero_by_zero().
Matrix this_contour [static] |
Definition at line 47 of file __contourc__.cc.
Referenced by add_point(), and end_contour().