#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.
Defines | |
#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, error_state, Array< T >::length(), lo_ieee_nan_value(), max(), min(), print_usage(), REF, Array< T >::rows(), x, and xi.
Definition at line 41 of file tsearch.cc.
Referenced by Array< T >::cat(), convolve(), DEFUN(), DEFUN_DLD(), defun_isargout(), dim_vector::dim_max(), do_bsxfun_op(), do_cellslices_nda(), do_dbstack(), do_inplace_bsxfun_op(), do_mat2cell(), do_mat2cell_nd(), do_minmax_bin_op(), do_num2cell_helper(), do_numeric_lookup(), do_tril(), do_triu(), DOUBLE_INT_BINOP_DECL(), erfcx_impl(), idx_vector::idx_mask_rep::extent(), idx_vector::idx_vector_rep::extent(), idx_vector::idx_scalar_rep::extent(), idx_vector::idx_range_rep::extent(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), genbet(), get_dim_vector(), get_mapper_fun_options(), MArray< T >::idx_add_nd(), FloatSVD::init(), FloatQRP::init(), FloatQR::init(), FloatComplexSVD::init(), FloatComplexQRP::init(), FloatComplexQR::init(), SVD::init(), QRP::init(), QR::init(), ComplexSVD::init(), ComplexQRP::init(), ComplexQR::init(), octave_struct::load_ascii(), FloatComplexMatrix::lssolve(), ComplexMatrix::lssolve(), octave_int< T >::max(), max(), octave_int_base< T >::max_val(), NINT(), NINTbig(), Array< T >::nth_element(), rec_index_helper::rec_index_helper(), Sparse< T >::resize1(), and save_mat5_binary_element().
Definition at line 49 of file tsearch.cc.
Referenced by rec_permute_helper::blk_trans(), Sparse< T >::SparseRep::change_length(), check_lu_dims(), DEFUN(), DEFUN_DLD(), defun_isargout(), DiagArray2< T >::diag(), DiagArray2< T >::DiagArray2(), dmdm_div_impl(), dmdm_leftdiv_impl(), do_leftdiv_dm_sm(), do_minmax_bin_op(), do_numeric_lookup(), do_rightdiv_sm_dm(), do_tril(), do_triu(), DOUBLE_INT_BINOP_DECL(), float_identity_matrix(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), genbet(), identity_matrix(), MArray< T >::idx_add(), MArray< T >::idx_max(), MArray< T >::idx_min(), inner_do_add_sm_dm(), is_valid_bsxfun(), octave_int< T >::min(), min(), octave_int_base< T >::min_val(), NINT(), NINTbig(), Array< T >::nth_element(), operator*(), qs_search(), rec_resize_helper::rec_resize_helper(), base_qr< qr_type >::regular(), base_lu< lu_type >::regular(), Sparse< T >::resize(), DiagArray2< T >::resize(), Array< T >::resize1(), Array< T >::resize2(), and octave_value_list::slice().