![]() |
GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cctype>#include <functional>#include <algorithm>#include "dNDArray.h"#include "CNDArray.h"#include "Cell.h"#include "defun.h"#include "error.h"#include "gripes.h"#include "oct-obj.h"#include "ov.h"
Go to the source code of this file.
Classes | |
| struct | icmp_char_gt |
| struct | icmp_char_lt |
Macros | |
| #define | INT_ARRAY_LOOKUP(TYPE) |
Functions | |
| static bool | contains_char (const std::string &str, char c) |
| template<class 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) |
| OCTAVE_EXPORT octave_value_list | Flookup (const octave_value_list &args, int) |
| template<class T > | |
| sortmode | get_sort_mode (const Array< T > &array, typename octave_sort< T >::compare_fcn_type desc_comp=octave_sort< T >::descending_compare) |
| #define INT_ARRAY_LOOKUP | ( | TYPE | ) |
Definition at line 103 of file lookup.cc.
Referenced by Flookup().
|
static |
Definition at line 111 of file lookup.cc.
References Array< T >::dims(), Array< T >::lookup(), match(), max(), min(), and Array< T >::xelem().
Referenced by Flookup().
| OCTAVE_EXPORT octave_value_list Flookup | ( | const octave_value_list & | args, |
| int | |||
| ) |
Definition at line 237 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(), error_state, octave_value::float_array_value(), INT_ARRAY_LOOKUP, octave_value::is_cellstr(), octave_value::is_char_matrix(), octave_value::is_complex_type(), octave_value::is_numeric_type(), octave_value::is_single_type(), octave_value::length(), Array< T >::lookup(), match(), octave_value::ndims(), Array< T >::numel(), print_usage(), octave_value::rows(), warning(), and Array< T >::xelem().
|
inline |
Definition at line 88 of file lookup.cc.
References ASCENDING, DESCENDING, and Array< T >::numel().
1.8.1.2