GNU Octave
4.2.1
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 "errwarn.h"
#include "ovl.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) |
Typedefs | |
using | i = 1:columns (ar{r}) y = [y, ar{x}(ar{r}(1,i)*ones(1, ar{r}(2,i)))] |
Functions | |
static bool | contains_char (const std::string &str, char c) |
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) |
OCTAVE_EXPORT octave_value_list | Flookup (const octave_value_list &args, int) then ode |
template<typename T > | |
sortmode | get_sort_mode (const Array< T > &array, typename octave_sort< T >::compare_fcn_type desc_comp=octave_sort< T >::descending_compare) |
for all then the tests are reversed For non strictly monotonic empty intervals are always skipped The result is undefined if or if the complexity is | O (min(M *log(N), M+N)).ar |
Variables | |
for all then the tests are reversed For non strictly monotonic empty intervals are always skipped The result is undefined if | ar {table} is not monotonic |
for all | ode {y(i)} within the table. If ode{y(i) < table(1)} then ode{idx(i)} is 0. If ode{y(i) >= table(end)} or ode{isnan (y(i))} then ode{idx(i)} is ode{n}. If the table is decreasing |
otherwise | |
for all then the tests are reversed For non strictly monotonic | tables |
#define INT_ARRAY_LOOKUP | ( | TYPE | ) |
|
static |
|
static |
Definition at line 111 of file lookup.cc.
References array(), Array< T >::dims(), Array< T >::lookup(), max(), min(), retval, values, Array< T >::xelem(), and zero.
OCTAVE_EXPORT octave_value_list Flookup | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 239 of file lookup.cc.
Referenced by install_lookup_fcns().
|
inline |
Definition at line 88 of file lookup.cc.
References ASCENDING, DESCENDING, and Array< T >::numel().