GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-math.h"
#include "dNDArray.h"
#include "CNDArray.h"
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
#include "ov-cx-mat.h"
#include "ov-re-sparse.h"
#include "ov-cx-sparse.h"
Go to the source code of this file.
Macros | |
#define | MAKE_INT_BRANCH(X) |
#define | MAKE_INT_BRANCH(X) |
#define | MAKE_INT_BRANCH(X) |
Functions | |
template<typename ArrayType > | |
static octave_value | do_minmax_bin_op (const octave_value &argx, const octave_value &argy, bool ismin) |
template<> | |
octave_value | do_minmax_bin_op< charNDArray > (const octave_value &argx, const octave_value &argy, bool ismin) |
static octave_value_list | do_minmax_body (const octave_value_list &args, int nargout, bool ismin) |
template<typename ArrayType > | |
static octave_value_list | do_minmax_red_op (const octave_value &arg, int nargout, int dim, bool ismin) |
template<> | |
octave_value_list | do_minmax_red_op< boolNDArray > (const octave_value &arg, int nargout, int dim, bool ismin) |
template<> | |
octave_value_list | do_minmax_red_op< charNDArray > (const octave_value &arg, int nargout, int dim, bool ismin) |
OCTAVE_EXPORT octave_value_list | Fmin (const octave_value_list &args, int nargout) ar |
#define MAKE_INT_BRANCH | ( | X | ) |
Referenced by do_minmax_body().
#define MAKE_INT_BRANCH | ( | X | ) |
#define MAKE_INT_BRANCH | ( | X | ) |
|
static |
octave_value do_minmax_bin_op< charNDArray > | ( | const octave_value & | argx, |
const octave_value & | argy, | ||
bool | ismin | ||
) |
Definition at line 205 of file max.cc.
References max(), min(), Array< T >::numel(), octave_value_extract< charNDArray >(), retval, x, and y.
Referenced by do_minmax_body().
|
static |
Definition at line 236 of file max.cc.
References arg, octave_value::bool_array_value(), btyp_bool, btyp_char, btyp_complex, btyp_double, btyp_float, btyp_float_complex, btyp_mixed_numeric(), octave_value::builtin_type(), do_minmax_bin_op< charNDArray >(), do_minmax_red_op< boolNDArray >(), do_minmax_red_op< charNDArray >(), err_wrong_type_arg(), error(), Range::inc(), int16, int32, int64, octave_value::is_range(), octave_value::is_scalar_type(), octave_value::is_sparse_type(), octave_value_list::length(), MAKE_INT_BRANCH, Range::max(), Range::min(), nargin, nargout(), Range::numel(), print_usage(), range(), octave_value::range_value(), retval, uint16, uint32, and warning().
Referenced by Fmin().
|
static |
octave_value_list do_minmax_red_op< boolNDArray > | ( | const octave_value & | arg, |
int | nargout, | ||
int | dim, | ||
bool | ismin | ||
) |
Definition at line 113 of file max.cc.
References boolNDArray::all(), boolNDArray::any(), arg, array(), octave_value::bool_array_value(), Array< T >::is_empty(), octave_value::is_sparse_type(), nargout(), retval, and octave_value::sparse_bool_matrix_value().
Referenced by do_minmax_body().
octave_value_list do_minmax_red_op< charNDArray > | ( | const octave_value & | arg, |
int | nargout, | ||
int | dim, | ||
bool | ismin | ||
) |
Definition at line 83 of file max.cc.
References arg, array(), charNDArray::max(), charNDArray::min(), nargout(), octave_value(), octave_value_extract< charNDArray >(), and retval.
Referenced by do_minmax_body().
OCTAVE_EXPORT octave_value_list Fmin | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 500 of file max.cc.
References do_minmax_body(), and nargout().
Referenced by install_max_fcns().