![]() |
GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>#include <fstream>#include <string>#include "lo-ieee.h"#include "lo-math.h"#include "defun-dld.h"#include "error.h"#include "oct-obj.h"#include "parse.h"
Go to the source code of this file.
Macros | |
| #define | REF(x, k, i) x(static_cast<octave_idx_type>(elem((k), (i))) - 1) |
Functions | |
| DEFUN_DLD (tsearch, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{idx} =} tsearch (@var{x}, @var{y}, @var{t}, @var{xi}, @var{yi})\n\ Search for the enclosing Delaunay convex hull. For @code{@var{t} =\n\ delaunay (@var{x}, @var{y})}, finds the index in @var{t} containing the\n\ points @code{(@var{xi}, @var{yi})}. For points outside the convex hull,\n\ @var{idx} is NaN.\n\ @seealso{delaunay, delaunayn}\n\ @end deftypefn") | |
| double | max (double a, double b, double c) |
| double | min (double a, double b, double c) |
| #define REF | ( | x, | |
| k, | |||
| i | |||
| ) | x(static_cast<octave_idx_type>(elem((k), (i))) - 1) |
Definition at line 57 of file tsearch.cc.
Referenced by DEFUN_DLD().
| DEFUN_DLD | ( | tsearch | , |
| args | |||
| ) |
Definition at line 67 of file tsearch.cc.
References c1, elem, eps, error_state, octave_value_list::length(), Array< T >::length(), lo_ieee_nan_value(), max(), min(), OCTAVE_QUIT, print_usage(), REF, Array< T >::rows(), x, and xi.
1.8.1.2