#include <cctype>
#include <functional>
#include <algorithm>
#include "dNDArray.h"
#include "CNDArray.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
#include "ov.h"
Go to the source code of this file.
◆ INT_ARRAY_LOOKUP
#define INT_ARRAY_LOOKUP |
( |
|
TYPE | ) |
|
Value: (table.is_ ## TYPE ## _type () && y.is_ ## TYPE ## _type ()) \
y.TYPE ## _array_value (), \
left_inf, right_inf, \
match_idx, match_bool);
static octave_value do_numeric_lookup(const ArrayT &array, const ArrayT &values, bool left_inf, bool right_inf, bool match_idx, bool match_bool)
octave_value::octave_value(const Array< char > &chm, char type) return retval
Definition at line 69 of file lookup.cc.
◆ contains_char()
static bool contains_char |
( |
const std::string & |
str, |
|
|
char |
c |
|
) |
| |
|
static |
◆ do_numeric_lookup()
template<typename ArrayT >
static octave_value do_numeric_lookup |
( |
const ArrayT & |
array, |
|
|
const ArrayT & |
values, |
|
|
bool |
left_inf, |
|
|
bool |
right_inf, |
|
|
bool |
match_idx, |
|
|
bool |
match_bool |
|
) |
| |
|
static |
◆ Flookup()
Definition at line 204 of file lookup.cc.
References octave_value::abs(), octave_value::array_value(), octave_value::cellstr_value(), octave_value::char_array_value(), octave_value::columns(), contains_char(), Array< T >::dims(), do_numeric_lookup(), error(), octave_value::float_array_value(), INT_ARRAY_LOOKUP, octave_value::is_char_matrix(), octave_value::is_single_type(), octave_value::is_string(), octave_value::iscellstr(), octave_value::iscomplex(), octave_value::isnumeric(), Array< T >::lookup(), octave_value::ndims(), Array< T >::numel(), print_usage(), retval, octave_value::rows(), octave_value::string_value(), warning(), and Array< T >::xelem().
◆ get_sort_mode()