GNU Octave 11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
mx-inlines.cc File Reference
#include <cstddef>
#include <cmath>
#include <algorithm>
#include <limits>
#include "Array-util.h"
#include "Array-oct.h"
#include "bsxfun.h"
#include "oct-cmplx.h"
#include "oct-inttypes-fwd.h"
#include "oct-locbuf.h"

Go to the source code of this file.

Macros

#define DEFMXBINOP(F, OP)
 
#define DEFMXBINOPEQ(F, OP)
 
#define DEFMXBOOLOP(F, NOT1, OP, NOT2)
 
#define DEFMXCMPOP(F, OP)
 
#define octave_mx_inlines_h   1
 
#define OP_CCUMMINMAX_FCN(F, OP)
 
#define OP_CCUMMINMAX_FCN2(F, OP)
 
#define OP_CCUMMINMAX_FCNN(F)
 
#define OP_CHMINMAX_FCN(F, OP)
 
#define OP_CHMINMAX_FCN2(F, OP)
 
#define OP_CHMINMAX_FCNN(F)
 
#define OP_CMINMAX_FCN(F, OP)
 
#define OP_CMINMAX_FCN2(F, OP)
 
#define OP_CMINMAX_FCNN(F)
 
#define OP_CUM_FCN(F, TSRC, TRES, OP)
 
#define OP_CUM_FCN2(F, TSRC, TRES, OP)
 
#define OP_CUM_FCNN(F, TSRC, TRES)
 
#define OP_CUM_NAN_FCN(F, TSRC, TRES, OP, ZERO)
 
#define OP_CUM_NAN_FCN2(F, TSRC, TRES, OP, ZERO)
 
#define OP_CUM_NAN_FCNN(F, TSRC, TRES)
 
#define OP_CUMMINMAX_FCN(F, OP)
 
#define OP_CUMMINMAX_FCN2(F, OP)
 
#define OP_CUMMINMAX_FCNN(F)
 
#define OP_INT_CUMMINMAX_FCN(F, OP)
 
#define OP_INT_CUMMINMAX_FCN2(F, OP)
 
#define OP_INT_CUMMINMAX_FCNN(F)
 
#define OP_INT_MINMAX_FCN(F, OP)
 
#define OP_INT_MINMAX_FCN2(F, OP)
 
#define OP_INT_MINMAX_FCNN(F)
 
#define OP_MINMAX_FCN(F, OP)
 
#define OP_MINMAX_FCN2(F, OP)
 
#define OP_MINMAX_FCNN(F)
 
#define OP_RED_ALLC(ac, el)
 
#define OP_RED_ALLR(ac, el)   ac &= xis_true (el)
 
#define OP_RED_ANYC(ac, el)
 
#define OP_RED_ANYR(ac, el)   ac |= xis_true (el)
 
#define OP_RED_FCN(F, TSRC, TRES, OP, ZERO)
 
#define OP_RED_FCN2(F, TSRC, TRES, OP, ZERO)
 
#define OP_RED_FCNN(F, TSRC, TRES)
 
#define OP_RED_NAN_FCN(F, TSRC, TRES, OP, ZERO)
 
#define OP_RED_NAN_FCN2(F, TSRC, TRES, OP, ZERO)
 
#define OP_RED_NAN_FCNN(F, TSRC, TRES)
 
#define OP_RED_PROD(ac, el)   ac *= el
 
#define OP_RED_SUM(ac, el)   ac += el
 
#define OP_RED_SUMSQ(ac, el)   ac += ((el)*(el))
 
#define OP_RED_SUMSQC(ac, el)   ac += cabsq (el)
 
#define OP_ROW_SHORT_CIRCUIT(F, PRED, ZERO)
 
#define PROMOTE_DOUBLE(T)    typename subst_template_param<std::complex, T, double>::type
 

Functions

template<typename T >
cabsq (const std::complex< T > &c)
 
template<typename R , typename X , typename Y >
Array< R > do_mm_binary_op (const Array< X > &x, const Array< Y > &y, bool nanflag, bool realabs, void(*op)(std::size_t, R *, const X *, const Y *, bool, bool), void(*op1)(std::size_t, R *, X, const Y *, bool, bool), void(*op2)(std::size_t, R *, const X *, Y, bool, bool), const char *opname)
 
template<typename R , typename X , typename Y >
Array< R > do_mm_binary_op (const Array< X > &x, const Array< Y > &y, bool nanflag, void(*op)(std::size_t, R *, const X *, const Y *, bool), void(*op1)(std::size_t, R *, X, const Y *, bool), void(*op2)(std::size_t, R *, const X *, Y, bool), const char *opname)
 
template<typename R , typename X , typename Y >
Array< R > do_mm_binary_op (const Array< X > &x, const Array< Y > &y, void(*op)(std::size_t, R *, const X *, const Y *), void(*op1)(std::size_t, R *, X, const Y *), void(*op2)(std::size_t, R *, const X *, Y), const char *opname)
 
template<typename R , typename X >
Array< R > & do_mm_inplace_op (Array< R > &r, const Array< X > &x, void(*op)(std::size_t, R *, const X *), void(*op1)(std::size_t, R *, X), const char *opname)
 
template<typename R , typename X , typename Y >
Array< R > do_ms_binary_op (const Array< X > &x, const Y &y, bool nanflag, bool realabs, void(*op)(std::size_t, R *, const X *, Y, bool, bool))
 
template<typename R , typename X , typename Y >
Array< R > do_ms_binary_op (const Array< X > &x, const Y &y, bool nanflag, void(*op)(std::size_t, R *, const X *, Y, bool))
 
template<typename R , typename X , typename Y >
Array< R > do_ms_binary_op (const Array< X > &x, const Y &y, void(*op)(std::size_t, R *, const X *, Y))
 
template<typename R , typename X >
Array< R > & do_ms_inplace_op (Array< R > &r, const X &x, void(*op)(std::size_t, R *, X))
 
template<typename T >
bool do_mx_check (const Array< T > &a, bool(*op)(std::size_t, const T *))
 
template<typename R , typename T >
Array< R > do_mx_cum_op (const Array< T > &src, int dim, bool nanflag, void(*mx_cum_op)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool))
 
template<typename R , typename T >
Array< R > do_mx_cum_op (const Array< T > &src, int dim, void(*mx_cum_op)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type))
 
template<typename R >
Array< R > do_mx_cumminmax_op (const Array< R > &src, Array< octave_idx_type > &idx, int dim, bool nanflag, bool realabs, void(*mx_cumminmax_op)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool))
 
template<typename R >
Array< R > do_mx_cumminmax_op (const Array< R > &src, Array< octave_idx_type > &idx, int dim, bool realabs, void(*mx_cumminmax_op)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool))
 
template<typename R >
Array< R > do_mx_cumminmax_op (const Array< R > &src, int dim, bool nanflag, bool realabs, void(*mx_cumminmax_op)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool))
 
template<typename R >
Array< R > do_mx_cumminmax_op (const Array< R > &src, int dim, bool realabs, void(*mx_cumminmax_op)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool))
 
template<typename R >
Array< R > do_mx_diff_op (const Array< R > &src, int dim, octave_idx_type order, void(*mx_diff_op)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, octave_idx_type))
 
template<typename R , typename T >
Array< R > do_mx_flip_op (const Array< T > &src, int dim, void(*mx_flip_op)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type))
 
template<typename R >
Array< R > & do_mx_inplace_op (Array< R > &r, void(*op)(std::size_t, R *))
 
template<typename R >
Array< R > do_mx_minmax_op (const Array< R > &src, Array< octave_idx_type > &idx, int dim, bool nanflag, bool realabs, void(*mx_minmax_op)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool))
 
template<typename R >
Array< R > do_mx_minmax_op (const Array< R > &src, Array< octave_idx_type > &idx, int dim, bool realabs, void(*mx_minmax_op)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool))
 
template<typename R >
Array< R > do_mx_minmax_op (const Array< R > &src, Array< octave_idx_type > &idx, int dim, void(*mx_minmax_op)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type))
 
template<typename R >
Array< R > do_mx_minmax_op (const Array< R > &src, int dim, bool nanflag, bool realabs, void(*mx_minmax_op)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool))
 
template<typename R >
Array< R > do_mx_minmax_op (const Array< R > &src, int dim, bool realabs, void(*mx_minmax_op)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool))
 
template<typename R >
Array< R > do_mx_minmax_op (const Array< R > &src, int dim, void(*mx_minmax_op)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type))
 
template<typename R , typename T >
Array< R > do_mx_red_op (const Array< T > &src, int dim, bool nanflag, void(*mx_red_op)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool))
 
template<typename R , typename T >
Array< R > do_mx_red_op (const Array< T > &src, int dim, void(*mx_red_op)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type))
 
template<typename R , typename X , R fcn>
Array< R > do_mx_unary_map (const Array< X > &x)
 
template<typename R , typename X >
Array< R > do_mx_unary_op (const Array< X > &x, void(*op)(std::size_t, R *, const X *))
 
template<typename R , typename X , typename Y >
Array< R > do_sm_binary_op (const X &x, const Array< Y > &y, bool nanflag, bool realabs, void(*op)(std::size_t, R *, X, const Y *, bool, bool))
 
template<typename R , typename X , typename Y >
Array< R > do_sm_binary_op (const X &x, const Array< Y > &y, bool nanflag, void(*op)(std::size_t, R *, X, const Y *, bool))
 
template<typename R , typename X , typename Y >
Array< R > do_sm_binary_op (const X &x, const Array< Y > &y, void(*op)(std::size_t, R *, X, const Y *))
 
void get_extent_triplet (const dim_vector &dims, int &dim, octave_idx_type &l, octave_idx_type &n, octave_idx_type &u)
 
template<typename T >
bool logical_value (const octave_int< T > &x)
 
template<typename T >
bool logical_value (const std::complex< T > &x)
 
template<typename T >
bool logical_value (T x)
 
template<typename R , typename X , typename Y >
void mx_inline_add (std::size_t n, R *r, const X *x, const Y *y)
 
template<typename R , typename X , typename Y >
void mx_inline_add (std::size_t n, R *r, const X *x, Y y)
 
template<typename R , typename X , typename Y >
void mx_inline_add (std::size_t n, R *r, X x, const Y *y)
 
template<typename R , typename X >
void mx_inline_add2 (std::size_t n, R *r, const X *x)
 
template<typename R , typename X >
void mx_inline_add2 (std::size_t n, R *r, X x)
 
template<typename T >
void mx_inline_all (const T *v, bool *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_all (const T *v, bool *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
bool mx_inline_all (const T *v, octave_idx_type n)
 
template<typename T >
bool mx_inline_all_finite (std::size_t n, const T *x)
 
template<typename T >
void mx_inline_all_r (const T *v, bool *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
bool mx_inline_all_real (std::size_t n, const std::complex< T > *x)
 
template<typename X , typename Y >
void mx_inline_and (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_and (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_and (std::size_t n, bool *r, X x, const Y *y)
 
template<typename X >
void mx_inline_and2 (std::size_t n, bool *r, const X *x)
 
template<typename X >
void mx_inline_and2 (std::size_t n, bool *r, X x)
 
template<typename X , typename Y >
void mx_inline_and_not (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_and_not (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_and_not (std::size_t n, bool *r, X x, const Y *y)
 
template<typename T >
void mx_inline_any (const T *v, bool *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_any (const T *v, bool *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
bool mx_inline_any (const T *v, octave_idx_type n)
 
template<typename T >
bool mx_inline_any_nan (std::size_t n, const T *x)
 
template<typename T >
bool mx_inline_any_negative (std::size_t n, const T *x)
 
template<typename T >
bool mx_inline_any_positive (std::size_t n, const T *x)
 
template<typename T >
void mx_inline_any_r (const T *v, bool *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_ccummax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummax (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_ccummin (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_chmax (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_chmax (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_chmax (const T *v, T *r, octave_idx_type *ri, octave_idx_type n)
 
template<typename T >
void mx_inline_chmax (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_chmax (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_chmax (const T *v, T *r, octave_idx_type n)
 
template<typename T >
void mx_inline_chmin (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_chmin (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_chmin (const T *v, T *r, octave_idx_type *ri, octave_idx_type n)
 
template<typename T >
void mx_inline_chmin (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_chmin (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_chmin (const T *v, T *r, octave_idx_type n)
 
template<typename T >
void mx_inline_cmax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmax (const std::complex< T > *v, std::complex< T > *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmax (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag, bool realabs)
 
template<typename T >
void mx_inline_cmax (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmin (const std::complex< T > *v, std::complex< T > *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cmin (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag, bool realabs)
 
template<typename T >
void mx_inline_cmin (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
mx_inline_count (const bool *v, octave_idx_type n)
 
template<typename T >
void mx_inline_count (const bool *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_count (const bool *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cumcount (const bool *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_cumcount (const bool *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cumcount (const bool *v, T *r, octave_idx_type n)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_cumprod (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_cumprod (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_cumprod (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cumprod (const T *v, T *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_cumprod (const T *v, T *r, octave_idx_type n)
 
template<typename T >
void mx_inline_cumprod (const T *v, T *r, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_cumsum (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_cumsum (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_cumsum (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cumsum (const T *v, T *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_cumsum (const T *v, T *r, octave_idx_type n)
 
template<typename T >
void mx_inline_cumsum (const T *v, T *r, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_diff (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, octave_idx_type order)
 
template<typename T >
void mx_inline_diff (const T *v, T *r, octave_idx_type m, octave_idx_type n, octave_idx_type order)
 
template<typename T >
void mx_inline_diff (const T *v, T *r, octave_idx_type n, octave_idx_type order)
 
template<typename R , typename X , typename Y >
void mx_inline_div (std::size_t n, R *r, const X *x, const Y *y)
 
template<typename R , typename X , typename Y >
void mx_inline_div (std::size_t n, R *r, const X *x, Y y)
 
template<typename R , typename X , typename Y >
void mx_inline_div (std::size_t n, R *r, X x, const Y *y)
 
template<typename R , typename X >
void mx_inline_div2 (std::size_t n, R *r, const X *x)
 
template<typename R , typename X >
void mx_inline_div2 (std::size_t n, R *r, X x)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dprod (const T *v, octave_idx_type n)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dprod (const T *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_dprod (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_dprod (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_dprod (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_dprod (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsum (const T *v, octave_idx_type n)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsum (const T *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_dsum (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_dsum (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_dsum (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_dsum (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq (const std::complex< T > *v, octave_idx_type n)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq (const std::complex< T > *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_dsumsq (const std::complex< T > *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_dsumsq (const std::complex< T > *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_dsumsq (const std::complex< T > *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_dsumsq (const std::complex< T > *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq (const T *v, octave_idx_type n)
 
template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq (const T *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_dsumsq (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_dsumsq (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_dsumsq (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_dsumsq (const T *v, typename subst_template_param< std::complex, T, double >::type *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename X , typename Y >
void mx_inline_eq (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_eq (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_eq (std::size_t n, bool *r, X x, const Y *y)
 
template<typename T1 , typename T2 >
bool mx_inline_equal (std::size_t n, const T1 *x, const T2 *y)
 
template<typename R , typename S >
void mx_inline_fill (std::size_t n, R *r, S s)
 
template<typename T >
void mx_inline_flip (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_flip (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_flip (const T *v, T *r, octave_idx_type n)
 
template<typename X , typename Y >
void mx_inline_ge (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_ge (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_ge (std::size_t n, bool *r, X x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_gt (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_gt (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_gt (std::size_t n, bool *r, X x, const Y *y)
 
template<typename T >
void mx_inline_imag (std::size_t n, T *r, const std::complex< T > *x)
 
template<typename T >
void mx_inline_intcummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intcummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intcummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intcummax (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intcummax (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intcummax (const T *v, T *r, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intcummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intcummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intcummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intcummin (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intcummin (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intcummin (const T *v, T *r, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmax (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intmax (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmax (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmax (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intmax (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmax (const T *v, T *r, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmin (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intmin (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmin (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmin (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool realabs)
 
template<typename T >
void mx_inline_intmin (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool realabs)
 
template<typename T >
void mx_inline_intmin (const T *v, T *r, octave_idx_type n, const bool realabs)
 
template<typename X >
void mx_inline_iszero (std::size_t n, bool *r, const X *x)
 
template<typename X , typename Y >
void mx_inline_le (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_le (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_le (std::size_t n, bool *r, X x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_lt (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_lt (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_lt (std::size_t n, bool *r, X x, const Y *y)
 
template<typename R , typename X , R fcn>
void mx_inline_map (std::size_t n, R *r, const X *x)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type *ri, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type *ri, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type m, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type n, const bool nanflag, const bool realabs)
 
template<typename R , typename X , typename Y >
void mx_inline_mul (std::size_t n, R *r, const X *x, const Y *y)
 
template<typename R , typename X , typename Y >
void mx_inline_mul (std::size_t n, R *r, const X *x, Y y)
 
template<typename R , typename X , typename Y >
void mx_inline_mul (std::size_t n, R *r, X x, const Y *y)
 
template<typename R , typename X >
void mx_inline_mul2 (std::size_t n, R *r, const X *x)
 
template<typename R , typename X >
void mx_inline_mul2 (std::size_t n, R *r, X x)
 
template<typename X , typename Y >
void mx_inline_ne (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_ne (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_ne (std::size_t n, bool *r, X x, const Y *y)
 
template<typename X >
void mx_inline_not (std::size_t n, bool *r, const X *x)
 
void mx_inline_not2 (std::size_t n, bool *r)
 
template<typename X , typename Y >
void mx_inline_not_and (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_not_and (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_not_and (std::size_t n, bool *r, X x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_not_or (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_not_or (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_not_or (std::size_t n, bool *r, X x, const Y *y)
 
template<typename X >
void mx_inline_notzero (std::size_t n, bool *r, const X *x)
 
template<typename X , typename Y >
void mx_inline_or (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_or (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_or (std::size_t n, bool *r, X x, const Y *y)
 
template<typename X >
void mx_inline_or2 (std::size_t n, bool *r, const X *x)
 
template<typename X >
void mx_inline_or2 (std::size_t n, bool *r, X x)
 
template<typename X , typename Y >
void mx_inline_or_not (std::size_t n, bool *r, const X *x, const Y *y)
 
template<typename X , typename Y >
void mx_inline_or_not (std::size_t n, bool *r, const X *x, Y y)
 
template<typename X , typename Y >
void mx_inline_or_not (std::size_t n, bool *r, X x, const Y *y)
 
template<typename R , typename X , typename Y >
void mx_inline_pow (std::size_t n, R *r, const X *x, const Y *y)
 
template<typename R , typename X , typename Y >
void mx_inline_pow (std::size_t n, R *r, const X *x, Y y)
 
template<typename R , typename X , typename Y >
void mx_inline_pow (std::size_t n, R *r, X x, const Y *y)
 
template<typename T >
mx_inline_prod (const T *v, octave_idx_type n)
 
template<typename T >
mx_inline_prod (const T *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_prod (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_prod (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_prod (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_prod (const T *v, T *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_real (std::size_t n, T *r, const std::complex< T > *x)
 
template<typename R , typename X , typename Y >
void mx_inline_sub (std::size_t n, R *r, const X *x, const Y *y)
 
template<typename R , typename X , typename Y >
void mx_inline_sub (std::size_t n, R *r, const X *x, Y y)
 
template<typename R , typename X , typename Y >
void mx_inline_sub (std::size_t n, R *r, X x, const Y *y)
 
template<typename R , typename X >
void mx_inline_sub2 (std::size_t n, R *r, const X *x)
 
template<typename R , typename X >
void mx_inline_sub2 (std::size_t n, R *r, X x)
 
template<typename T >
mx_inline_sum (const T *v, octave_idx_type n)
 
template<typename T >
mx_inline_sum (const T *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_sum (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_sum (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_sum (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_sum (const T *v, T *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
mx_inline_sumsq (const std::complex< T > *v, octave_idx_type n)
 
template<typename T >
mx_inline_sumsq (const std::complex< T > *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_sumsq (const std::complex< T > *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_sumsq (const std::complex< T > *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_sumsq (const std::complex< T > *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_sumsq (const std::complex< T > *v, T *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename T >
mx_inline_sumsq (const T *v, octave_idx_type n)
 
template<typename T >
mx_inline_sumsq (const T *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_sumsq (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_sumsq (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
template<typename T >
void mx_inline_sumsq (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_sumsq (const T *v, T *r, octave_idx_type m, octave_idx_type n, bool nanflag)
 
template<typename R , typename X >
void mx_inline_uminus (std::size_t n, R *r, const X *x)
 
template<typename R >
void mx_inline_uminus2 (std::size_t n, R *r)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, const T *x, const T *y)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, const T *x, const T *y, const bool nanflag)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, const T *x, const T *y, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, const T *x, T y)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, const T *x, T y, const bool nanflag)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, const T *x, T y, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, T x, const T *y)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, T x, const T *y, const bool nanflag)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, T x, const T *y, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, const T *x, const T *y)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, const T *x, const T *y, const bool nanflag)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, const T *x, const T *y, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, const T *x, T y)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, const T *x, T y, const bool nanflag)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, const T *x, T y, const bool nanflag, const bool realabs)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, T x, const T *y)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, T x, const T *y, const bool nanflag)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, T x, const T *y, const bool nanflag, const bool realabs)
 
template<typename T >
mx_inline_xsum (const T *v, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_xsum (const T *v, T *r, octave_idx_type l, octave_idx_type n, bool nanflag)
 
template<typename T >
void mx_inline_xsum (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u, bool nanflag)
 
void op_dble_prod (Complex &ac, const FloatComplex &el)
 
template<typename T >
void op_dble_prod (double &ac, const octave_int< T > &el)
 
void op_dble_prod (double &ac, float el)
 
void op_dble_sum (Complex &ac, const FloatComplex &el)
 
template<typename T >
void op_dble_sum (double &ac, const octave_int< T > &el)
 
void op_dble_sum (double &ac, float el)
 
template<typename T >
void twosum_accum (T &s, T &e, const T &x)
 
bool xis_false (const Complex &x)
 
bool xis_false (const FloatComplex &x)
 
template<typename T >
bool xis_false (const octave_int< T > &x)
 
bool xis_false (double x)
 
bool xis_false (float x)
 
template<typename T >
bool xis_false (T x)
 
bool xis_true (const Complex &x)
 
bool xis_true (const FloatComplex &x)
 
template<typename T >
bool xis_true (const octave_int< T > &x)
 
bool xis_true (double x)
 
bool xis_true (float x)
 
template<typename T >
bool xis_true (T x)
 

Macro Definition Documentation

◆ DEFMXBINOP

#define DEFMXBINOP (   F,
  OP 
)
Value:
template <typename R, typename X, typename Y> \
inline void F (std::size_t n, R *r, const X *x, const Y *y) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] = x[i] OP y[i]; \
} \
template <typename R, typename X, typename Y> \
inline void F (std::size_t n, R *r, const X *x, Y y) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] = x[i] OP y; \
} \
template <typename R, typename X, typename Y> \
inline void F (std::size_t n, R *r, X x, const Y *y) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] = x OP y[i]; \
}
F77_RET_T const F77_DBLE * x

Definition at line 89 of file mx-inlines.cc.

◆ DEFMXBINOPEQ

#define DEFMXBINOPEQ (   F,
  OP 
)
Value:
template <typename R, typename X> \
inline void F (std::size_t n, R *r, const X *x) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] OP x[i]; \
} \
template <typename R, typename X> \
inline void F (std::size_t n, R *r, X x) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] OP x; \
}

Definition at line 114 of file mx-inlines.cc.

◆ DEFMXBOOLOP

#define DEFMXBOOLOP (   F,
  NOT1,
  OP,
  NOT2 
)
Value:
template <typename X, typename Y> \
inline void F (std::size_t n, bool *r, const X *x, const Y *y) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] = ((NOT1 logical_value (x[i])) \
OP (NOT2 logical_value (y[i]))); \
} \
template <typename X, typename Y> \
inline void F (std::size_t n, bool *r, const X *x, Y y) \
{ \
const bool yy = (NOT2 logical_value (y)); \
for (std::size_t i = 0; i < n; i++) \
r[i] = (NOT1 logical_value (x[i])) OP yy; \
} \
template <typename X, typename Y> \
inline void F (std::size_t n, bool *r, X x, const Y *y) \
{ \
const bool xx = (NOT1 logical_value (x)); \
for (std::size_t i = 0; i < n; i++) \
r[i] = xx OP (NOT2 logical_value (y[i])); \
}
bool logical_value(T x)

Definition at line 197 of file mx-inlines.cc.

◆ DEFMXCMPOP

#define DEFMXCMPOP (   F,
  OP 
)
Value:
template <typename X, typename Y> \
inline void F (std::size_t n, bool *r, const X *x, const Y *y) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] = x[i] OP y[i]; \
} \
template <typename X, typename Y> \
inline void F (std::size_t n, bool *r, const X *x, Y y) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] = x[i] OP y; \
} \
template <typename X, typename Y> \
inline void F (std::size_t n, bool *r, X x, const Y *y) \
{ \
for (std::size_t i = 0; i < n; i++) \
r[i] = x OP y[i]; \
}

Definition at line 133 of file mx-inlines.cc.

◆ octave_mx_inlines_h

#define octave_mx_inlines_h   1

Definition at line 27 of file mx-inlines.cc.

◆ OP_CCUMMINMAX_FCN

#define OP_CCUMMINMAX_FCN (   F,
  OP 
)

Definition at line 2892 of file mx-inlines.cc.

◆ OP_CCUMMINMAX_FCN2

#define OP_CCUMMINMAX_FCN2 (   F,
  OP 
)

Definition at line 3099 of file mx-inlines.cc.

◆ OP_CCUMMINMAX_FCNN

#define OP_CCUMMINMAX_FCNN (   F)

Definition at line 3389 of file mx-inlines.cc.

◆ OP_CHMINMAX_FCN

#define OP_CHMINMAX_FCN (   F,
  OP 
)
Value:
template <typename T> \
void F (const T *v, T *r, octave_idx_type n) \
{ \
if (! n) \
return; \
T tmp = v[0]; \
octave_idx_type i = 1; \
for (; i < n; i++) \
if (v[i] OP tmp) \
tmp = v[i]; \
*r = tmp; \
} \
template <typename T> \
void F (const T *v, T *r, octave_idx_type *ri, octave_idx_type n) \
{ \
if (! n) \
return; \
T tmp = v[0]; \
octave_idx_type tmpi = 0; \
octave_idx_type i = 1; \
for (; i < n; i++) \
if (v[i] OP tmp) \
{ \
tmp = v[i]; \
tmpi = i; \
} \
*r = tmp; \
*ri = tmpi; \
}

Definition at line 2235 of file mx-inlines.cc.

◆ OP_CHMINMAX_FCN2

#define OP_CHMINMAX_FCN2 (   F,
  OP 
)

Definition at line 2269 of file mx-inlines.cc.

◆ OP_CHMINMAX_FCNN

#define OP_CHMINMAX_FCNN (   F)

Definition at line 2319 of file mx-inlines.cc.

◆ OP_CMINMAX_FCN

#define OP_CMINMAX_FCN (   F,
  OP 
)

Definition at line 1684 of file mx-inlines.cc.

◆ OP_CMINMAX_FCN2

#define OP_CMINMAX_FCN2 (   F,
  OP 
)

Definition at line 1806 of file mx-inlines.cc.

◆ OP_CMINMAX_FCNN

#define OP_CMINMAX_FCNN (   F)

Definition at line 1945 of file mx-inlines.cc.

◆ OP_CUM_FCN

#define OP_CUM_FCN (   F,
  TSRC,
  TRES,
  OP 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type n) \
{ \
if (n) \
{ \
TRES t = r[0] = v[0]; \
for (octave_idx_type i = 1; i < n; i++) \
r[i] = t = t OP v[i]; \
} \
}

Definition at line 1151 of file mx-inlines.cc.

◆ OP_CUM_FCN2

#define OP_CUM_FCN2 (   F,
  TSRC,
  TRES,
  OP 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n) \
{ \
if (n) \
{ \
for (octave_idx_type i = 0; i < m; i++) \
r[i] = v[i]; \
const T *r0 = r; \
for (octave_idx_type j = 1; j < n; j++) \
{ \
r += m; v += m; \
for (octave_idx_type i = 0; i < m; i++) \
r[i] = r0[i] OP v[i]; \
r0 += m; \
} \
} \
}

Definition at line 1203 of file mx-inlines.cc.

◆ OP_CUM_FCNN

#define OP_CUM_FCNN (   F,
  TSRC,
  TRES 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type l, \
{ \
if (l == 1) \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
F (v, r, n); \
v += n; \
r += n; \
} \
} \
else \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
F (v, r, l, n); \
v += l*n; \
r += l*n; \
} \
} \
}

Definition at line 1278 of file mx-inlines.cc.

◆ OP_CUM_NAN_FCN

#define OP_CUM_NAN_FCN (   F,
  TSRC,
  TRES,
  OP,
  ZERO 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type n, bool nanflag) \
{ \
if (n) \
{ \
if (nanflag) \
{ \
TRES z = ZERO; \
TRES t; \
if (octave::math::isnan (v[0])) \
t = r[0] = z; \
else \
t = r[0] = v[0]; \
for (octave_idx_type i = 1; i < n; i++) \
{ \
if (octave::math::isnan (v[i])) \
r[i] = t = t OP z; \
else \
r[i] = t = t OP v[i]; \
} \
} \
else \
{ \
TRES t = r[0] = v[0]; \
for (octave_idx_type i = 1; i < n; i++) \
r[i] = t = t OP v[i]; \
} \
} \
}

Definition at line 1168 of file mx-inlines.cc.

◆ OP_CUM_NAN_FCN2

#define OP_CUM_NAN_FCN2 (   F,
  TSRC,
  TRES,
  OP,
  ZERO 
)

Definition at line 1227 of file mx-inlines.cc.

◆ OP_CUM_NAN_FCNN

#define OP_CUM_NAN_FCNN (   F,
  TSRC,
  TRES 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type l, \
octave_idx_type n, octave_idx_type u, bool nanflag) \
{ \
if (l == 1) \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
F (v, r, n, nanflag); \
v += n; \
r += n; \
} \
} \
else \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
F (v, r, l, n, nanflag); \
v += l*n; \
r += l*n; \
} \
} \
}

Definition at line 1308 of file mx-inlines.cc.

◆ OP_CUMMINMAX_FCN

#define OP_CUMMINMAX_FCN (   F,
  OP 
)

Definition at line 2379 of file mx-inlines.cc.

◆ OP_CUMMINMAX_FCN2

#define OP_CUMMINMAX_FCN2 (   F,
  OP 
)

Definition at line 2565 of file mx-inlines.cc.

◆ OP_CUMMINMAX_FCNN

#define OP_CUMMINMAX_FCNN (   F)

Definition at line 2829 of file mx-inlines.cc.

◆ OP_INT_CUMMINMAX_FCN

#define OP_INT_CUMMINMAX_FCN (   F,
  OP 
)

Definition at line 3452 of file mx-inlines.cc.

◆ OP_INT_CUMMINMAX_FCN2

#define OP_INT_CUMMINMAX_FCN2 (   F,
  OP 
)

Definition at line 3554 of file mx-inlines.cc.

◆ OP_INT_CUMMINMAX_FCNN

#define OP_INT_CUMMINMAX_FCNN (   F)

Definition at line 3691 of file mx-inlines.cc.

◆ OP_INT_MINMAX_FCN

#define OP_INT_MINMAX_FCN (   F,
  OP 
)

Definition at line 2006 of file mx-inlines.cc.

◆ OP_INT_MINMAX_FCN2

#define OP_INT_MINMAX_FCN2 (   F,
  OP 
)

Definition at line 2075 of file mx-inlines.cc.

◆ OP_INT_MINMAX_FCNN

#define OP_INT_MINMAX_FCNN (   F)

Definition at line 2174 of file mx-inlines.cc.

◆ OP_MINMAX_FCN

#define OP_MINMAX_FCN (   F,
  OP 
)

Definition at line 1389 of file mx-inlines.cc.

◆ OP_MINMAX_FCN2

#define OP_MINMAX_FCN2 (   F,
  OP 
)

Definition at line 1495 of file mx-inlines.cc.

◆ OP_MINMAX_FCNN

#define OP_MINMAX_FCNN (   F)

Definition at line 1622 of file mx-inlines.cc.

◆ OP_RED_ALLC

#define OP_RED_ALLC (   ac,
  el 
)
Value:
if (xis_false (el)) \
{ \
ac = false; \
break; \
} \
else \
continue
bool xis_false(T x)

Definition at line 908 of file mx-inlines.cc.

◆ OP_RED_ALLR

#define OP_RED_ALLR (   ac,
  el 
)    ac &= xis_true (el)

Definition at line 1039 of file mx-inlines.cc.

◆ OP_RED_ANYC

#define OP_RED_ANYC (   ac,
  el 
)
Value:
if (xis_true (el)) \
{ \
ac = true; \
break; \
} \
else \
continue
bool xis_true(T x)

Definition at line 899 of file mx-inlines.cc.

◆ OP_RED_ANYR

#define OP_RED_ANYR (   ac,
  el 
)    ac |= xis_true (el)

Definition at line 1038 of file mx-inlines.cc.

◆ OP_RED_FCN

#define OP_RED_FCN (   F,
  TSRC,
  TRES,
  OP,
  ZERO 
)
Value:
template <typename T> \
inline TRES \
F (const TSRC *v, octave_idx_type n) \
{ \
TRES ac = ZERO; \
for (octave_idx_type i = 0; i < n; i++) \
OP(ac, v[i]); \
return ac; \
}

Definition at line 917 of file mx-inlines.cc.

◆ OP_RED_FCN2

#define OP_RED_FCN2 (   F,
  TSRC,
  TRES,
  OP,
  ZERO 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n) \
{ \
for (octave_idx_type i = 0; i < m; i++) \
r[i] = ZERO; \
for (octave_idx_type j = 0; j < n; j++) \
{ \
for (octave_idx_type i = 0; i < m; i++) \
OP(r[i], v[i]); \
v += m; \
} \
}

Definition at line 972 of file mx-inlines.cc.

◆ OP_RED_FCNN

#define OP_RED_FCNN (   F,
  TSRC,
  TRES 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type l, \
{ \
if (l == 1) \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
r[i] = F<T> (v, n); \
v += n; \
} \
} \
else \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
F (v, r, l, n); \
v += l*n; \
r += l; \
} \
} \
}

Definition at line 1080 of file mx-inlines.cc.

◆ OP_RED_NAN_FCN

#define OP_RED_NAN_FCN (   F,
  TSRC,
  TRES,
  OP,
  ZERO 
)
Value:
template <typename T> \
inline TRES \
F (const TSRC *v, octave_idx_type n, bool nanflag) \
{ \
TRES ac = ZERO; \
if (nanflag) \
{ \
for (octave_idx_type i = 0; i < n; i++) \
if (! octave::math::isnan (v[i])) \
OP(ac, v[i]); \
} \
else \
{ \
for (octave_idx_type i = 0; i < n; i++) \
OP(ac, v[i]); \
} \
return ac; \
}

Definition at line 943 of file mx-inlines.cc.

◆ OP_RED_NAN_FCN2

#define OP_RED_NAN_FCN2 (   F,
  TSRC,
  TRES,
  OP,
  ZERO 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n, \
bool nanflag) \
{ \
for (octave_idx_type i = 0; i < m; i++) \
r[i] = ZERO; \
\
if (nanflag) \
{ \
/* omitnan: skip NaN, result stays at identity if all NaN */ \
for (octave_idx_type j = 0; j < n; j++) \
{ \
for (octave_idx_type i = 0; i < m; i++) \
if (! octave::math::isnan (v[i])) \
OP(r[i], v[i]); \
v += m; \
} \
} \
else \
{ \
/* includenan: NaN propagates naturally */ \
for (octave_idx_type j = 0; j < n; j++) \
{ \
for (octave_idx_type i = 0; i < m; i++) \
OP(r[i], v[i]); \
v += m; \
} \
} \
}

Definition at line 997 of file mx-inlines.cc.

◆ OP_RED_NAN_FCNN

#define OP_RED_NAN_FCNN (   F,
  TSRC,
  TRES 
)
Value:
template <typename T> \
inline void \
F (const TSRC *v, TRES *r, octave_idx_type l, \
octave_idx_type n, octave_idx_type u, bool nanflag) \
{ \
if (l == 1) \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
r[i] = F<T> (v, n, nanflag); \
v += n; \
} \
} \
else \
{ \
for (octave_idx_type i = 0; i < u; i++) \
{ \
F (v, r, l, n, nanflag); \
v += l*n; \
r += l; \
} \
} \
}

Definition at line 1117 of file mx-inlines.cc.

◆ OP_RED_PROD

#define OP_RED_PROD (   ac,
  el 
)    ac *= el

Definition at line 854 of file mx-inlines.cc.

◆ OP_RED_SUM

#define OP_RED_SUM (   ac,
  el 
)    ac += el

Definition at line 853 of file mx-inlines.cc.

◆ OP_RED_SUMSQ

#define OP_RED_SUMSQ (   ac,
  el 
)    ac += ((el)*(el))

Definition at line 855 of file mx-inlines.cc.

◆ OP_RED_SUMSQC

#define OP_RED_SUMSQC (   ac,
  el 
)    ac += cabsq (el)

Definition at line 856 of file mx-inlines.cc.

◆ OP_ROW_SHORT_CIRCUIT

#define OP_ROW_SHORT_CIRCUIT (   F,
  PRED,
  ZERO 
)
Value:
template <typename T> \
inline void \
F (const T *v, bool *r, octave_idx_type m, octave_idx_type n) \
{ \
if (n <= 8) \
return F ## _r (v, r, m, n); \
\
/* FIXME: it may be sub-optimal to allocate the buffer here. */ \
OCTAVE_LOCAL_BUFFER (octave_idx_type, iact, m); \
for (octave_idx_type i = 0; i < m; i++) iact[i] = i; \
octave_idx_type nact = m; \
for (octave_idx_type j = 0; j < n; j++) \
{ \
octave_idx_type k = 0; \
for (octave_idx_type i = 0; i < nact; i++) \
{ \
octave_idx_type ia = iact[i]; \
if (! PRED (v[ia])) \
iact[k++] = ia; \
} \
nact = k; \
v += m; \
} \
for (octave_idx_type i = 0; i < m; i++) r[i] = ! ZERO; \
for (octave_idx_type i = 0; i < nact; i++) r[iact[i]] = ZERO; \
}

Definition at line 1049 of file mx-inlines.cc.

◆ PROMOTE_DOUBLE

#define PROMOTE_DOUBLE (   T)     typename subst_template_param<std::complex, T, double>::type

Definition at line 928 of file mx-inlines.cc.

Function Documentation

◆ cabsq()

template<typename T >
T cabsq ( const std::complex< T > &  c)
inline

Definition at line 768 of file mx-inlines.cc.

◆ do_mm_binary_op() [1/3]

template<typename R , typename X , typename Y >
Array< R > do_mm_binary_op ( const Array< X > &  x,
const Array< Y > &  y,
bool  nanflag,
bool  realabs,
void(*)(std::size_t, R *, const X *, const Y *, bool, bool op,
void(*)(std::size_t, R *, X, const Y *, bool, bool op1,
void(*)(std::size_t, R *, const X *, Y, bool, bool op2,
const char *  opname 
)
inline

◆ do_mm_binary_op() [2/3]

template<typename R , typename X , typename Y >
Array< R > do_mm_binary_op ( const Array< X > &  x,
const Array< Y > &  y,
bool  nanflag,
void(*)(std::size_t, R *, const X *, const Y *, bool op,
void(*)(std::size_t, R *, X, const Y *, bool op1,
void(*)(std::size_t, R *, const X *, Y, bool op2,
const char *  opname 
)
inline

◆ do_mm_binary_op() [3/3]

template<typename R , typename X , typename Y >
Array< R > do_mm_binary_op ( const Array< X > &  x,
const Array< Y > &  y,
void(*)(std::size_t, R *, const X *, const Y *)  op,
void(*)(std::size_t, R *, X, const Y *)  op1,
void(*)(std::size_t, R *, const X *, Y)  op2,
const char *  opname 
)
inline

◆ do_mm_inplace_op()

template<typename R , typename X >
Array< R > & do_mm_inplace_op ( Array< R > &  r,
const Array< X > &  x,
void(*)(std::size_t, R *, const X *)  op,
void(*)(std::size_t, R *, X)  op1,
const char *  opname 
)
inline

◆ do_ms_binary_op() [1/3]

template<typename R , typename X , typename Y >
Array< R > do_ms_binary_op ( const Array< X > &  x,
const Y &  y,
bool  nanflag,
bool  realabs,
void(*)(std::size_t, R *, const X *, Y, bool, bool op 
)
inline

Definition at line 700 of file mx-inlines.cc.

References Array< T, Alloc >::numel(), Array< T, Alloc >::rwdata(), and x.

◆ do_ms_binary_op() [2/3]

template<typename R , typename X , typename Y >
Array< R > do_ms_binary_op ( const Array< X > &  x,
const Y &  y,
bool  nanflag,
void(*)(std::size_t, R *, const X *, Y, bool op 
)
inline

Definition at line 654 of file mx-inlines.cc.

References Array< T, Alloc >::numel(), Array< T, Alloc >::rwdata(), and x.

◆ do_ms_binary_op() [3/3]

template<typename R , typename X , typename Y >
Array< R > do_ms_binary_op ( const Array< X > &  x,
const Y &  y,
void(*)(std::size_t, R *, const X *, Y)  op 
)
inline

Definition at line 607 of file mx-inlines.cc.

References Array< T, Alloc >::numel(), Array< T, Alloc >::rwdata(), and x.

Referenced by max(), and min().

◆ do_ms_inplace_op()

template<typename R , typename X >
Array< R > & do_ms_inplace_op ( Array< R > &  r,
const X &  x,
void(*)(std::size_t, R *, X)  op 
)
inline

Definition at line 739 of file mx-inlines.cc.

References Array< T, Alloc >::numel(), Array< T, Alloc >::rwdata(), and x.

◆ do_mx_check()

template<typename T >
bool do_mx_check ( const Array< T > &  a,
bool(*)(std::size_t, const T *)  op 
)
inline

Definition at line 758 of file mx-inlines.cc.

References Array< T, Alloc >::data(), and Array< T, Alloc >::numel().

◆ do_mx_cum_op() [1/2]

template<typename R , typename T >
Array< R > do_mx_cum_op ( const Array< T > &  src,
int  dim,
bool  nanflag,
void(*)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool mx_cum_op 
)
inline

◆ do_mx_cum_op() [2/2]

template<typename R , typename T >
Array< R > do_mx_cum_op ( const Array< T > &  src,
int  dim,
void(*)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type mx_cum_op 
)
inline

◆ do_mx_cumminmax_op() [1/4]

template<typename R >
Array< R > do_mx_cumminmax_op ( const Array< R > &  src,
Array< octave_idx_type > &  idx,
int  dim,
bool  nanflag,
bool  realabs,
void(*)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool mx_cumminmax_op 
)
inline

◆ do_mx_cumminmax_op() [2/4]

template<typename R >
Array< R > do_mx_cumminmax_op ( const Array< R > &  src,
Array< octave_idx_type > &  idx,
int  dim,
bool  realabs,
void(*)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool mx_cumminmax_op 
)
inline

◆ do_mx_cumminmax_op() [3/4]

template<typename R >
Array< R > do_mx_cumminmax_op ( const Array< R > &  src,
int  dim,
bool  nanflag,
bool  realabs,
void(*)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool mx_cumminmax_op 
)
inline

◆ do_mx_cumminmax_op() [4/4]

template<typename R >
Array< R > do_mx_cumminmax_op ( const Array< R > &  src,
int  dim,
bool  realabs,
void(*)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool mx_cumminmax_op 
)
inline

◆ do_mx_diff_op()

template<typename R >
Array< R > do_mx_diff_op ( const Array< R > &  src,
int  dim,
octave_idx_type  order,
void(*)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, octave_idx_type mx_diff_op 
)
inline

◆ do_mx_flip_op()

template<typename R , typename T >
Array< R > do_mx_flip_op ( const Array< T > &  src,
int  dim,
void(*)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type mx_flip_op 
)
inline

◆ do_mx_inplace_op()

template<typename R >
Array< R > & do_mx_inplace_op ( Array< R > &  r,
void(*)(std::size_t, R *)  op 
)
inline

Definition at line 574 of file mx-inlines.cc.

References Array< T, Alloc >::numel(), and Array< T, Alloc >::rwdata().

◆ do_mx_minmax_op() [1/6]

template<typename R >
Array< R > do_mx_minmax_op ( const Array< R > &  src,
Array< octave_idx_type > &  idx,
int  dim,
bool  nanflag,
bool  realabs,
void(*)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool mx_minmax_op 
)
inline

◆ do_mx_minmax_op() [2/6]

template<typename R >
Array< R > do_mx_minmax_op ( const Array< R > &  src,
Array< octave_idx_type > &  idx,
int  dim,
bool  realabs,
void(*)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type, bool mx_minmax_op 
)
inline

◆ do_mx_minmax_op() [3/6]

template<typename R >
Array< R > do_mx_minmax_op ( const Array< R > &  src,
Array< octave_idx_type > &  idx,
int  dim,
void(*)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type mx_minmax_op 
)
inline

◆ do_mx_minmax_op() [4/6]

template<typename R >
Array< R > do_mx_minmax_op ( const Array< R > &  src,
int  dim,
bool  nanflag,
bool  realabs,
void(*)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool, bool mx_minmax_op 
)
inline

◆ do_mx_minmax_op() [5/6]

template<typename R >
Array< R > do_mx_minmax_op ( const Array< R > &  src,
int  dim,
bool  realabs,
void(*)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool mx_minmax_op 
)
inline

◆ do_mx_minmax_op() [6/6]

template<typename R >
Array< R > do_mx_minmax_op ( const Array< R > &  src,
int  dim,
void(*)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type mx_minmax_op 
)
inline

◆ do_mx_red_op() [1/2]

template<typename R , typename T >
Array< R > do_mx_red_op ( const Array< T > &  src,
int  dim,
bool  nanflag,
void(*)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type, bool mx_red_op 
)
inline

◆ do_mx_red_op() [2/2]

template<typename R , typename T >
Array< R > do_mx_red_op ( const Array< T > &  src,
int  dim,
void(*)(const T *, R *, octave_idx_type, octave_idx_type, octave_idx_type mx_red_op 
)
inline

◆ do_mx_unary_map()

template<typename R , typename X , R fcn>
Array< R > do_mx_unary_map ( const Array< X > &  x)
inline

Definition at line 560 of file mx-inlines.cc.

References x.

◆ do_mx_unary_op()

template<typename R , typename X >
Array< R > do_mx_unary_op ( const Array< X > &  x,
void(*)(std::size_t, R *, const X *)  op 
)
inline

Definition at line 548 of file mx-inlines.cc.

References Array< T, Alloc >::numel(), Array< T, Alloc >::rwdata(), and x.

◆ do_sm_binary_op() [1/3]

template<typename R , typename X , typename Y >
Array< R > do_sm_binary_op ( const X &  x,
const Array< Y > &  y,
bool  nanflag,
bool  realabs,
void(*)(std::size_t, R *, X, const Y *, bool, bool op 
)
inline

◆ do_sm_binary_op() [2/3]

template<typename R , typename X , typename Y >
Array< R > do_sm_binary_op ( const X &  x,
const Array< Y > &  y,
bool  nanflag,
void(*)(std::size_t, R *, X, const Y *, bool op 
)
inline

◆ do_sm_binary_op() [3/3]

template<typename R , typename X , typename Y >
Array< R > do_sm_binary_op ( const X &  x,
const Array< Y > &  y,
void(*)(std::size_t, R *, X, const Y *)  op 
)
inline

◆ get_extent_triplet()

◆ logical_value() [1/3]

template<typename T >
bool logical_value ( const octave_int< T > &  x)
inline

Definition at line 177 of file mx-inlines.cc.

References x.

◆ logical_value() [2/3]

template<typename T >
bool logical_value ( const std::complex< T > &  x)
inline

Definition at line 170 of file mx-inlines.cc.

References x.

◆ logical_value() [3/3]

template<typename T >
bool logical_value ( x)
inline

Definition at line 163 of file mx-inlines.cc.

References x.

Referenced by mx_inline_and2(), mx_inline_not(), and mx_inline_or2().

◆ mx_inline_add() [1/3]

template<typename R , typename X , typename Y >
void mx_inline_add ( std::size_t  n,
R *  r,
const X *  x,
const Y *  y 
)
inline

Definition at line 109 of file mx-inlines.cc.

Referenced by Sparse< T, Alloc >::assign(), and Sparse< T, Alloc >::assign().

◆ mx_inline_add() [2/3]

template<typename R , typename X , typename Y >
void mx_inline_add ( std::size_t  n,
R *  r,
const X *  x,
y 
)
inline

Definition at line 109 of file mx-inlines.cc.

◆ mx_inline_add() [3/3]

template<typename R , typename X , typename Y >
void mx_inline_add ( std::size_t  n,
R *  r,
x,
const Y *  y 
)
inline

Definition at line 109 of file mx-inlines.cc.

◆ mx_inline_add2() [1/2]

◆ mx_inline_add2() [2/2]

template<typename R , typename X >
void mx_inline_add2 ( std::size_t  n,
R *  r,
x 
)
inline

Definition at line 128 of file mx-inlines.cc.

◆ mx_inline_all() [1/3]

template<typename T >
void mx_inline_all ( const T *  v,
bool r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1115 of file mx-inlines.cc.

◆ mx_inline_all() [2/3]

template<typename T >
void mx_inline_all ( const T *  v,
bool r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1078 of file mx-inlines.cc.

◆ mx_inline_all() [3/3]

template<typename T >
bool mx_inline_all ( const T *  v,
octave_idx_type  n 
)
inline

◆ mx_inline_all_finite()

template<typename T >
bool mx_inline_all_finite ( std::size_t  n,
const T *  x 
)
inline

◆ mx_inline_all_r()

template<typename T >
void mx_inline_all_r ( const T *  v,
bool r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1042 of file mx-inlines.cc.

◆ mx_inline_all_real()

template<typename T >
bool mx_inline_all_real ( std::size_t  n,
const std::complex< T > *  x 
)
inline

◆ mx_inline_and() [1/3]

template<typename X , typename Y >
void mx_inline_and ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 220 of file mx-inlines.cc.

◆ mx_inline_and() [2/3]

template<typename X , typename Y >
void mx_inline_and ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 220 of file mx-inlines.cc.

◆ mx_inline_and() [3/3]

template<typename X , typename Y >
void mx_inline_and ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 220 of file mx-inlines.cc.

◆ mx_inline_and2() [1/2]

template<typename X >
void mx_inline_and2 ( std::size_t  n,
bool r,
const X *  x 
)
inline

Definition at line 229 of file mx-inlines.cc.

References logical_value(), and x.

Referenced by mx_el_and_assign().

◆ mx_inline_and2() [2/2]

template<typename X >
void mx_inline_and2 ( std::size_t  n,
bool r,
x 
)
inline

Definition at line 237 of file mx-inlines.cc.

References x.

◆ mx_inline_and_not() [1/3]

template<typename X , typename Y >
void mx_inline_and_not ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 224 of file mx-inlines.cc.

◆ mx_inline_and_not() [2/3]

template<typename X , typename Y >
void mx_inline_and_not ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 224 of file mx-inlines.cc.

◆ mx_inline_and_not() [3/3]

template<typename X , typename Y >
void mx_inline_and_not ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 224 of file mx-inlines.cc.

◆ mx_inline_any() [1/3]

template<typename T >
void mx_inline_any ( const T *  v,
bool r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1114 of file mx-inlines.cc.

◆ mx_inline_any() [2/3]

template<typename T >
void mx_inline_any ( const T *  v,
bool r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1077 of file mx-inlines.cc.

◆ mx_inline_any() [3/3]

template<typename T >
bool mx_inline_any ( const T *  v,
octave_idx_type  n 
)
inline

◆ mx_inline_any_nan()

template<typename T >
bool mx_inline_any_nan ( std::size_t  n,
const T *  x 
)
inline

◆ mx_inline_any_negative()

template<typename T >
bool mx_inline_any_negative ( std::size_t  n,
const T *  x 
)
inline

Definition at line 287 of file mx-inlines.cc.

References x.

Referenced by NDArray::any_element_is_negative(), and FloatNDArray::any_element_is_negative().

◆ mx_inline_any_positive()

template<typename T >
bool mx_inline_any_positive ( std::size_t  n,
const T *  x 
)
inline

Definition at line 300 of file mx-inlines.cc.

References x.

Referenced by NDArray::any_element_is_positive(), and FloatNDArray::any_element_is_positive().

◆ mx_inline_any_r()

template<typename T >
void mx_inline_any_r ( const T *  v,
bool r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1041 of file mx-inlines.cc.

◆ mx_inline_ccummax() [1/6]

template<typename T >
void mx_inline_ccummax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3387 of file mx-inlines.cc.

◆ mx_inline_ccummax() [2/6]

template<typename T >
void mx_inline_ccummax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 3097 of file mx-inlines.cc.

◆ mx_inline_ccummax() [3/6]

template<typename T >
void mx_inline_ccummax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3387 of file mx-inlines.cc.

◆ mx_inline_ccummax() [4/6]

template<typename T >
void mx_inline_ccummax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

◆ mx_inline_ccummax() [5/6]

template<typename T >
void mx_inline_ccummax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3447 of file mx-inlines.cc.

◆ mx_inline_ccummax() [6/6]

template<typename T >
void mx_inline_ccummax ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3447 of file mx-inlines.cc.

◆ mx_inline_ccummin() [1/6]

template<typename T >
void mx_inline_ccummin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3386 of file mx-inlines.cc.

◆ mx_inline_ccummin() [2/6]

template<typename T >
void mx_inline_ccummin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 3096 of file mx-inlines.cc.

◆ mx_inline_ccummin() [3/6]

template<typename T >
void mx_inline_ccummin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3386 of file mx-inlines.cc.

◆ mx_inline_ccummin() [4/6]

template<typename T >
void mx_inline_ccummin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

◆ mx_inline_ccummin() [5/6]

template<typename T >
void mx_inline_ccummin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3446 of file mx-inlines.cc.

◆ mx_inline_ccummin() [6/6]

template<typename T >
void mx_inline_ccummin ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 3446 of file mx-inlines.cc.

◆ mx_inline_chmax() [1/6]

template<typename T >
void mx_inline_chmax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 2375 of file mx-inlines.cc.

◆ mx_inline_chmax() [2/6]

template<typename T >
void mx_inline_chmax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 2317 of file mx-inlines.cc.

◆ mx_inline_chmax() [3/6]

template<typename T >
void mx_inline_chmax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n 
)

Definition at line 2267 of file mx-inlines.cc.

◆ mx_inline_chmax() [4/6]

template<typename T >
void mx_inline_chmax ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 2375 of file mx-inlines.cc.

◆ mx_inline_chmax() [5/6]

template<typename T >
void mx_inline_chmax ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 2317 of file mx-inlines.cc.

◆ mx_inline_chmax() [6/6]

template<typename T >
void mx_inline_chmax ( const T *  v,
T *  r,
octave_idx_type  n 
)

Definition at line 2267 of file mx-inlines.cc.

Referenced by charNDArray::max(), and charNDArray::max().

◆ mx_inline_chmin() [1/6]

template<typename T >
void mx_inline_chmin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 2374 of file mx-inlines.cc.

◆ mx_inline_chmin() [2/6]

template<typename T >
void mx_inline_chmin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 2316 of file mx-inlines.cc.

◆ mx_inline_chmin() [3/6]

template<typename T >
void mx_inline_chmin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n 
)

Definition at line 2266 of file mx-inlines.cc.

◆ mx_inline_chmin() [4/6]

template<typename T >
void mx_inline_chmin ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 2374 of file mx-inlines.cc.

◆ mx_inline_chmin() [5/6]

template<typename T >
void mx_inline_chmin ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 2316 of file mx-inlines.cc.

◆ mx_inline_chmin() [6/6]

template<typename T >
void mx_inline_chmin ( const T *  v,
T *  r,
octave_idx_type  n 
)

Definition at line 2266 of file mx-inlines.cc.

Referenced by charNDArray::min(), and charNDArray::min().

◆ mx_inline_cmax() [1/6]

template<typename T >
void mx_inline_cmax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1943 of file mx-inlines.cc.

◆ mx_inline_cmax() [2/6]

template<typename T >
void mx_inline_cmax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 1800 of file mx-inlines.cc.

◆ mx_inline_cmax() [3/6]

template<typename T >
void mx_inline_cmax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1943 of file mx-inlines.cc.

◆ mx_inline_cmax() [4/6]

template<typename T >
void mx_inline_cmax ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

◆ mx_inline_cmax() [5/6]

template<typename T >
void mx_inline_cmax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag,
bool  realabs 
)
inline

Definition at line 2001 of file mx-inlines.cc.

◆ mx_inline_cmax() [6/6]

template<typename T >
void mx_inline_cmax ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2001 of file mx-inlines.cc.

◆ mx_inline_cmin() [1/6]

template<typename T >
void mx_inline_cmin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1942 of file mx-inlines.cc.

◆ mx_inline_cmin() [2/6]

template<typename T >
void mx_inline_cmin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 1799 of file mx-inlines.cc.

◆ mx_inline_cmin() [3/6]

template<typename T >
void mx_inline_cmin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1942 of file mx-inlines.cc.

◆ mx_inline_cmin() [4/6]

template<typename T >
void mx_inline_cmin ( const std::complex< T > *  v,
std::complex< T > *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

◆ mx_inline_cmin() [5/6]

template<typename T >
void mx_inline_cmin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag,
bool  realabs 
)
inline

Definition at line 2000 of file mx-inlines.cc.

◆ mx_inline_cmin() [6/6]

template<typename T >
void mx_inline_cmin ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2000 of file mx-inlines.cc.

◆ mx_inline_count() [1/3]

template<typename T >
T mx_inline_count ( const bool v,
octave_idx_type  n 
)
inline

Definition at line 933 of file mx-inlines.cc.

Referenced by Fsum(), and Fsumsq().

◆ mx_inline_count() [2/3]

template<typename T >
void mx_inline_count ( const bool v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1107 of file mx-inlines.cc.

◆ mx_inline_count() [3/3]

template<typename T >
void mx_inline_count ( const bool v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 989 of file mx-inlines.cc.

◆ mx_inline_cumcount() [1/3]

template<typename T >
void mx_inline_cumcount ( const bool v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1306 of file mx-inlines.cc.

◆ mx_inline_cumcount() [2/3]

template<typename T >
void mx_inline_cumcount ( const bool v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1225 of file mx-inlines.cc.

◆ mx_inline_cumcount() [3/3]

template<typename T >
void mx_inline_cumcount ( const bool v,
T *  r,
octave_idx_type  n 
)
inline

Definition at line 1166 of file mx-inlines.cc.

◆ mx_inline_cummax() [1/6]

template<typename T >
void mx_inline_cummax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2887 of file mx-inlines.cc.

◆ mx_inline_cummax() [2/6]

template<typename T >
void mx_inline_cummax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2827 of file mx-inlines.cc.

◆ mx_inline_cummax() [3/6]

template<typename T >
void mx_inline_cummax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 2563 of file mx-inlines.cc.

◆ mx_inline_cummax() [4/6]

template<typename T >
void mx_inline_cummax ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2887 of file mx-inlines.cc.

◆ mx_inline_cummax() [5/6]

template<typename T >
void mx_inline_cummax ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2827 of file mx-inlines.cc.

◆ mx_inline_cummax() [6/6]

template<typename T >
void mx_inline_cummax ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

◆ mx_inline_cummin() [1/6]

template<typename T >
void mx_inline_cummin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2886 of file mx-inlines.cc.

◆ mx_inline_cummin() [2/6]

template<typename T >
void mx_inline_cummin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2826 of file mx-inlines.cc.

◆ mx_inline_cummin() [3/6]

template<typename T >
void mx_inline_cummin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 2562 of file mx-inlines.cc.

◆ mx_inline_cummin() [4/6]

template<typename T >
void mx_inline_cummin ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2886 of file mx-inlines.cc.

◆ mx_inline_cummin() [5/6]

template<typename T >
void mx_inline_cummin ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 2826 of file mx-inlines.cc.

◆ mx_inline_cummin() [6/6]

template<typename T >
void mx_inline_cummin ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

◆ mx_inline_cumprod() [1/6]

template<typename T >
void mx_inline_cumprod ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1305 of file mx-inlines.cc.

◆ mx_inline_cumprod() [2/6]

template<typename T >
void mx_inline_cumprod ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1335 of file mx-inlines.cc.

◆ mx_inline_cumprod() [3/6]

template<typename T >
void mx_inline_cumprod ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1224 of file mx-inlines.cc.

◆ mx_inline_cumprod() [4/6]

template<typename T >
void mx_inline_cumprod ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1276 of file mx-inlines.cc.

◆ mx_inline_cumprod() [5/6]

template<typename T >
void mx_inline_cumprod ( const T *  v,
T *  r,
octave_idx_type  n 
)
inline

◆ mx_inline_cumprod() [6/6]

template<typename T >
void mx_inline_cumprod ( const T *  v,
T *  r,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1201 of file mx-inlines.cc.

◆ mx_inline_cumsum() [1/6]

template<typename T >
void mx_inline_cumsum ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1304 of file mx-inlines.cc.

◆ mx_inline_cumsum() [2/6]

template<typename T >
void mx_inline_cumsum ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1334 of file mx-inlines.cc.

◆ mx_inline_cumsum() [3/6]

template<typename T >
void mx_inline_cumsum ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1223 of file mx-inlines.cc.

◆ mx_inline_cumsum() [4/6]

template<typename T >
void mx_inline_cumsum ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1275 of file mx-inlines.cc.

◆ mx_inline_cumsum() [5/6]

template<typename T >
void mx_inline_cumsum ( const T *  v,
T *  r,
octave_idx_type  n 
)
inline

◆ mx_inline_cumsum() [6/6]

template<typename T >
void mx_inline_cumsum ( const T *  v,
T *  r,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1200 of file mx-inlines.cc.

◆ mx_inline_diff() [1/3]

template<typename T >
void mx_inline_diff ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
octave_idx_type  order 
)
inline

Definition at line 3834 of file mx-inlines.cc.

References mx_inline_diff().

◆ mx_inline_diff() [2/3]

template<typename T >
void mx_inline_diff ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
octave_idx_type  order 
)

Definition at line 3793 of file mx-inlines.cc.

References OCTAVE_LOCAL_BUFFER.

◆ mx_inline_diff() [3/3]

template<typename T >
void mx_inline_diff ( const T *  v,
T *  r,
octave_idx_type  n,
octave_idx_type  order 
)

◆ mx_inline_div() [1/3]

template<typename R , typename X , typename Y >
void mx_inline_div ( std::size_t  n,
R *  r,
const X *  x,
const Y *  y 
)
inline

Definition at line 112 of file mx-inlines.cc.

◆ mx_inline_div() [2/3]

template<typename R , typename X , typename Y >
void mx_inline_div ( std::size_t  n,
R *  r,
const X *  x,
y 
)
inline

Definition at line 112 of file mx-inlines.cc.

◆ mx_inline_div() [3/3]

template<typename R , typename X , typename Y >
void mx_inline_div ( std::size_t  n,
R *  r,
x,
const Y *  y 
)
inline

Definition at line 112 of file mx-inlines.cc.

◆ mx_inline_div2() [1/2]

template<typename R , typename X >
void mx_inline_div2 ( std::size_t  n,
R *  r,
const X *  x 
)
inline

Definition at line 131 of file mx-inlines.cc.

Referenced by operator/=(), operator/=(), operator/=(), and quotient_eq().

◆ mx_inline_div2() [2/2]

template<typename R , typename X >
void mx_inline_div2 ( std::size_t  n,
R *  r,
x 
)
inline

Definition at line 131 of file mx-inlines.cc.

◆ mx_inline_dprod() [1/6]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dprod ( const T *  v,
octave_idx_type  n 
)
inline

Definition at line 935 of file mx-inlines.cc.

Referenced by FloatComplexNDArray::dprod(), and FloatNDArray::dprod().

◆ mx_inline_dprod() [2/6]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dprod ( const T *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 966 of file mx-inlines.cc.

◆ mx_inline_dprod() [3/6]

template<typename T >
void mx_inline_dprod ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1109 of file mx-inlines.cc.

◆ mx_inline_dprod() [4/6]

template<typename T >
void mx_inline_dprod ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1145 of file mx-inlines.cc.

◆ mx_inline_dprod() [5/6]

template<typename T >
void mx_inline_dprod ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 991 of file mx-inlines.cc.

◆ mx_inline_dprod() [6/6]

template<typename T >
void mx_inline_dprod ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1032 of file mx-inlines.cc.

◆ mx_inline_dsum() [1/6]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsum ( const T *  v,
octave_idx_type  n 
)
inline

◆ mx_inline_dsum() [2/6]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsum ( const T *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 964 of file mx-inlines.cc.

◆ mx_inline_dsum() [3/6]

template<typename T >
void mx_inline_dsum ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1106 of file mx-inlines.cc.

◆ mx_inline_dsum() [4/6]

template<typename T >
void mx_inline_dsum ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1143 of file mx-inlines.cc.

◆ mx_inline_dsum() [5/6]

template<typename T >
void mx_inline_dsum ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 988 of file mx-inlines.cc.

◆ mx_inline_dsum() [6/6]

template<typename T >
void mx_inline_dsum ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1030 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [1/12]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq ( const std::complex< T > *  v,
octave_idx_type  n 
)
inline

Definition at line 939 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [2/12]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq ( const std::complex< T > *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 970 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [3/12]

template<typename T >
void mx_inline_dsumsq ( const std::complex< T > *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1113 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [4/12]

template<typename T >
void mx_inline_dsumsq ( const std::complex< T > *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1149 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [5/12]

template<typename T >
void mx_inline_dsumsq ( const std::complex< T > *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 995 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [6/12]

template<typename T >
void mx_inline_dsumsq ( const std::complex< T > *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1036 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [7/12]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq ( const T *  v,
octave_idx_type  n 
)
inline

Definition at line 938 of file mx-inlines.cc.

Referenced by FloatComplexNDArray::dsumsq(), and FloatNDArray::dsumsq().

◆ mx_inline_dsumsq() [8/12]

template<typename T >
subst_template_param< std::complex, T, double >::type mx_inline_dsumsq ( const T *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 969 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [9/12]

template<typename T >
void mx_inline_dsumsq ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1112 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [10/12]

template<typename T >
void mx_inline_dsumsq ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1148 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [11/12]

template<typename T >
void mx_inline_dsumsq ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 994 of file mx-inlines.cc.

◆ mx_inline_dsumsq() [12/12]

template<typename T >
void mx_inline_dsumsq ( const T *  v,
typename subst_template_param< std::complex, T, double >::type *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1035 of file mx-inlines.cc.

◆ mx_inline_eq() [1/3]

template<typename X , typename Y >
void mx_inline_eq ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 157 of file mx-inlines.cc.

◆ mx_inline_eq() [2/3]

template<typename X , typename Y >
void mx_inline_eq ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 157 of file mx-inlines.cc.

◆ mx_inline_eq() [3/3]

template<typename X , typename Y >
void mx_inline_eq ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 157 of file mx-inlines.cc.

◆ mx_inline_equal()

◆ mx_inline_fill()

template<typename R , typename S >
void mx_inline_fill ( std::size_t  n,
R *  r,
s 
)
inline

Definition at line 49 of file mx-inlines.cc.

◆ mx_inline_flip() [1/3]

template<typename T >
void mx_inline_flip ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1364 of file mx-inlines.cc.

References mx_inline_flip().

◆ mx_inline_flip() [2/3]

template<typename T >
void mx_inline_flip ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 1350 of file mx-inlines.cc.

◆ mx_inline_flip() [3/3]

template<typename T >
void mx_inline_flip ( const T *  v,
T *  r,
octave_idx_type  n 
)
inline

◆ mx_inline_ge() [1/3]

template<typename X , typename Y >
void mx_inline_ge ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 156 of file mx-inlines.cc.

◆ mx_inline_ge() [2/3]

template<typename X , typename Y >
void mx_inline_ge ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 156 of file mx-inlines.cc.

◆ mx_inline_ge() [3/3]

template<typename X , typename Y >
void mx_inline_ge ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 156 of file mx-inlines.cc.

◆ mx_inline_gt() [1/3]

template<typename X , typename Y >
void mx_inline_gt ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 155 of file mx-inlines.cc.

◆ mx_inline_gt() [2/3]

template<typename X , typename Y >
void mx_inline_gt ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 155 of file mx-inlines.cc.

◆ mx_inline_gt() [3/3]

template<typename X , typename Y >
void mx_inline_gt ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 155 of file mx-inlines.cc.

◆ mx_inline_imag()

template<typename T >
void mx_inline_imag ( std::size_t  n,
T *  r,
const std::complex< T > *  x 
)
inline

Definition at line 334 of file mx-inlines.cc.

References imag(), and x.

◆ mx_inline_intcummax() [1/6]

template<typename T >
void mx_inline_intcummax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 3748 of file mx-inlines.cc.

◆ mx_inline_intcummax() [2/6]

template<typename T >
void mx_inline_intcummax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 3689 of file mx-inlines.cc.

◆ mx_inline_intcummax() [3/6]

template<typename T >
void mx_inline_intcummax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 3552 of file mx-inlines.cc.

◆ mx_inline_intcummax() [4/6]

template<typename T >
void mx_inline_intcummax ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 3748 of file mx-inlines.cc.

◆ mx_inline_intcummax() [5/6]

template<typename T >
void mx_inline_intcummax ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 3689 of file mx-inlines.cc.

◆ mx_inline_intcummax() [6/6]

template<typename T >
void mx_inline_intcummax ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 3552 of file mx-inlines.cc.

Referenced by intNDArray< T >::cummax(), and intNDArray< T >::cummax().

◆ mx_inline_intcummin() [1/6]

template<typename T >
void mx_inline_intcummin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 3747 of file mx-inlines.cc.

◆ mx_inline_intcummin() [2/6]

template<typename T >
void mx_inline_intcummin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 3688 of file mx-inlines.cc.

◆ mx_inline_intcummin() [3/6]

template<typename T >
void mx_inline_intcummin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 3551 of file mx-inlines.cc.

◆ mx_inline_intcummin() [4/6]

template<typename T >
void mx_inline_intcummin ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 3747 of file mx-inlines.cc.

◆ mx_inline_intcummin() [5/6]

template<typename T >
void mx_inline_intcummin ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 3688 of file mx-inlines.cc.

◆ mx_inline_intcummin() [6/6]

template<typename T >
void mx_inline_intcummin ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 3551 of file mx-inlines.cc.

Referenced by intNDArray< T >::cummin(), and intNDArray< T >::cummin().

◆ mx_inline_intmax() [1/6]

template<typename T >
void mx_inline_intmax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 2230 of file mx-inlines.cc.

◆ mx_inline_intmax() [2/6]

template<typename T >
void mx_inline_intmax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 2172 of file mx-inlines.cc.

◆ mx_inline_intmax() [3/6]

template<typename T >
void mx_inline_intmax ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 2073 of file mx-inlines.cc.

◆ mx_inline_intmax() [4/6]

template<typename T >
void mx_inline_intmax ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 2230 of file mx-inlines.cc.

◆ mx_inline_intmax() [5/6]

template<typename T >
void mx_inline_intmax ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 2172 of file mx-inlines.cc.

◆ mx_inline_intmax() [6/6]

template<typename T >
void mx_inline_intmax ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 2073 of file mx-inlines.cc.

Referenced by intNDArray< T >::max(), and intNDArray< T >::max().

◆ mx_inline_intmin() [1/6]

template<typename T >
void mx_inline_intmin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 2229 of file mx-inlines.cc.

◆ mx_inline_intmin() [2/6]

template<typename T >
void mx_inline_intmin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 2171 of file mx-inlines.cc.

◆ mx_inline_intmin() [3/6]

template<typename T >
void mx_inline_intmin ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 2072 of file mx-inlines.cc.

◆ mx_inline_intmin() [4/6]

template<typename T >
void mx_inline_intmin ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  realabs 
)
inline

Definition at line 2229 of file mx-inlines.cc.

◆ mx_inline_intmin() [5/6]

template<typename T >
void mx_inline_intmin ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  realabs 
)
inline

Definition at line 2171 of file mx-inlines.cc.

◆ mx_inline_intmin() [6/6]

template<typename T >
void mx_inline_intmin ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  realabs 
)

Definition at line 2072 of file mx-inlines.cc.

Referenced by intNDArray< T >::min(), and intNDArray< T >::min().

◆ mx_inline_iszero()

template<typename X >
void mx_inline_iszero ( std::size_t  n,
bool r,
const X *  x 
)
inline

Definition at line 73 of file mx-inlines.cc.

References x.

◆ mx_inline_le() [1/3]

template<typename X , typename Y >
void mx_inline_le ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 154 of file mx-inlines.cc.

◆ mx_inline_le() [2/3]

template<typename X , typename Y >
void mx_inline_le ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 154 of file mx-inlines.cc.

◆ mx_inline_le() [3/3]

template<typename X , typename Y >
void mx_inline_le ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 154 of file mx-inlines.cc.

◆ mx_inline_lt() [1/3]

template<typename X , typename Y >
void mx_inline_lt ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 153 of file mx-inlines.cc.

◆ mx_inline_lt() [2/3]

template<typename X , typename Y >
void mx_inline_lt ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 153 of file mx-inlines.cc.

◆ mx_inline_lt() [3/3]

template<typename X , typename Y >
void mx_inline_lt ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 153 of file mx-inlines.cc.

◆ mx_inline_map()

template<typename R , typename X , R fcn>
void mx_inline_map ( std::size_t  n,
R *  r,
const X *  x 
)
inline

Definition at line 529 of file mx-inlines.cc.

References x.

◆ mx_inline_max() [1/6]

template<typename T >
void mx_inline_max ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1679 of file mx-inlines.cc.

◆ mx_inline_max() [2/6]

template<typename T >
void mx_inline_max ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1620 of file mx-inlines.cc.

◆ mx_inline_max() [3/6]

template<typename T >
void mx_inline_max ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 1489 of file mx-inlines.cc.

◆ mx_inline_max() [4/6]

template<typename T >
void mx_inline_max ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1679 of file mx-inlines.cc.

◆ mx_inline_max() [5/6]

template<typename T >
void mx_inline_max ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1620 of file mx-inlines.cc.

◆ mx_inline_max() [6/6]

template<typename T >
void mx_inline_max ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 1489 of file mx-inlines.cc.

Referenced by NDArray::max(), FloatNDArray::max(), NDArray::max(), and FloatNDArray::max().

◆ mx_inline_min() [1/6]

template<typename T >
void mx_inline_min ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1678 of file mx-inlines.cc.

◆ mx_inline_min() [2/6]

template<typename T >
void mx_inline_min ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1619 of file mx-inlines.cc.

◆ mx_inline_min() [3/6]

template<typename T >
void mx_inline_min ( const T *  v,
T *  r,
octave_idx_type ri,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 1488 of file mx-inlines.cc.

◆ mx_inline_min() [4/6]

template<typename T >
void mx_inline_min ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1678 of file mx-inlines.cc.

◆ mx_inline_min() [5/6]

template<typename T >
void mx_inline_min ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 1619 of file mx-inlines.cc.

◆ mx_inline_min() [6/6]

template<typename T >
void mx_inline_min ( const T *  v,
T *  r,
octave_idx_type  n,
const bool  nanflag,
const bool  realabs 
)

Definition at line 1488 of file mx-inlines.cc.

Referenced by NDArray::min(), FloatNDArray::min(), NDArray::min(), and FloatNDArray::min().

◆ mx_inline_mul() [1/3]

template<typename R , typename X , typename Y >
void mx_inline_mul ( std::size_t  n,
R *  r,
const X *  x,
const Y *  y 
)
inline

Definition at line 111 of file mx-inlines.cc.

◆ mx_inline_mul() [2/3]

template<typename R , typename X , typename Y >
void mx_inline_mul ( std::size_t  n,
R *  r,
const X *  x,
y 
)
inline

Definition at line 111 of file mx-inlines.cc.

◆ mx_inline_mul() [3/3]

template<typename R , typename X , typename Y >
void mx_inline_mul ( std::size_t  n,
R *  r,
x,
const Y *  y 
)
inline

Definition at line 111 of file mx-inlines.cc.

◆ mx_inline_mul2() [1/2]

template<typename R , typename X >
void mx_inline_mul2 ( std::size_t  n,
R *  r,
const X *  x 
)
inline

Definition at line 130 of file mx-inlines.cc.

Referenced by operator*=(), operator*=(), operator*=(), and product_eq().

◆ mx_inline_mul2() [2/2]

template<typename R , typename X >
void mx_inline_mul2 ( std::size_t  n,
R *  r,
x 
)
inline

Definition at line 130 of file mx-inlines.cc.

◆ mx_inline_ne() [1/3]

template<typename X , typename Y >
void mx_inline_ne ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 158 of file mx-inlines.cc.

◆ mx_inline_ne() [2/3]

template<typename X , typename Y >
void mx_inline_ne ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 158 of file mx-inlines.cc.

◆ mx_inline_ne() [3/3]

template<typename X , typename Y >
void mx_inline_ne ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 158 of file mx-inlines.cc.

◆ mx_inline_not()

template<typename X >
void mx_inline_not ( std::size_t  n,
bool r,
const X *  x 
)

◆ mx_inline_not2()

void mx_inline_not2 ( std::size_t  n,
bool r 
)
inline

Definition at line 191 of file mx-inlines.cc.

Referenced by boolNDArray::invert().

◆ mx_inline_not_and() [1/3]

template<typename X , typename Y >
void mx_inline_not_and ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 222 of file mx-inlines.cc.

◆ mx_inline_not_and() [2/3]

template<typename X , typename Y >
void mx_inline_not_and ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 222 of file mx-inlines.cc.

◆ mx_inline_not_and() [3/3]

template<typename X , typename Y >
void mx_inline_not_and ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 222 of file mx-inlines.cc.

◆ mx_inline_not_or() [1/3]

template<typename X , typename Y >
void mx_inline_not_or ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 223 of file mx-inlines.cc.

◆ mx_inline_not_or() [2/3]

template<typename X , typename Y >
void mx_inline_not_or ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 223 of file mx-inlines.cc.

◆ mx_inline_not_or() [3/3]

template<typename X , typename Y >
void mx_inline_not_or ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 223 of file mx-inlines.cc.

◆ mx_inline_notzero()

template<typename X >
void mx_inline_notzero ( std::size_t  n,
bool r,
const X *  x 
)
inline

Definition at line 82 of file mx-inlines.cc.

References x.

◆ mx_inline_or() [1/3]

template<typename X , typename Y >
void mx_inline_or ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 221 of file mx-inlines.cc.

◆ mx_inline_or() [2/3]

template<typename X , typename Y >
void mx_inline_or ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 221 of file mx-inlines.cc.

◆ mx_inline_or() [3/3]

template<typename X , typename Y >
void mx_inline_or ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 221 of file mx-inlines.cc.

◆ mx_inline_or2() [1/2]

template<typename X >
void mx_inline_or2 ( std::size_t  n,
bool r,
const X *  x 
)
inline

Definition at line 245 of file mx-inlines.cc.

References logical_value(), and x.

Referenced by mx_el_or_assign().

◆ mx_inline_or2() [2/2]

template<typename X >
void mx_inline_or2 ( std::size_t  n,
bool r,
x 
)
inline

Definition at line 253 of file mx-inlines.cc.

References x.

◆ mx_inline_or_not() [1/3]

template<typename X , typename Y >
void mx_inline_or_not ( std::size_t  n,
bool r,
const X *  x,
const Y *  y 
)
inline

Definition at line 225 of file mx-inlines.cc.

◆ mx_inline_or_not() [2/3]

template<typename X , typename Y >
void mx_inline_or_not ( std::size_t  n,
bool r,
const X *  x,
y 
)
inline

Definition at line 225 of file mx-inlines.cc.

◆ mx_inline_or_not() [3/3]

template<typename X , typename Y >
void mx_inline_or_not ( std::size_t  n,
bool r,
x,
const Y *  y 
)
inline

Definition at line 225 of file mx-inlines.cc.

◆ mx_inline_pow() [1/3]

template<typename R , typename X , typename Y >
void mx_inline_pow ( std::size_t  n,
R *  r,
const X *  x,
const Y *  y 
)
inline

Definition at line 497 of file mx-inlines.cc.

References pow(), and x.

◆ mx_inline_pow() [2/3]

template<typename R , typename X , typename Y >
void mx_inline_pow ( std::size_t  n,
R *  r,
const X *  x,
y 
)
inline

Definition at line 507 of file mx-inlines.cc.

References pow(), and x.

◆ mx_inline_pow() [3/3]

template<typename R , typename X , typename Y >
void mx_inline_pow ( std::size_t  n,
R *  r,
x,
const Y *  y 
)
inline

Definition at line 517 of file mx-inlines.cc.

References pow(), and x.

◆ mx_inline_prod() [1/6]

template<typename T >
T mx_inline_prod ( const T *  v,
octave_idx_type  n 
)
inline

◆ mx_inline_prod() [2/6]

template<typename T >
T mx_inline_prod ( const T *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 965 of file mx-inlines.cc.

◆ mx_inline_prod() [3/6]

template<typename T >
void mx_inline_prod ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1108 of file mx-inlines.cc.

◆ mx_inline_prod() [4/6]

template<typename T >
void mx_inline_prod ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1144 of file mx-inlines.cc.

◆ mx_inline_prod() [5/6]

template<typename T >
void mx_inline_prod ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 990 of file mx-inlines.cc.

◆ mx_inline_prod() [6/6]

template<typename T >
void mx_inline_prod ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1031 of file mx-inlines.cc.

◆ mx_inline_real()

template<typename T >
void mx_inline_real ( std::size_t  n,
T *  r,
const std::complex< T > *  x 
)
inline

Definition at line 326 of file mx-inlines.cc.

References real(), and x.

◆ mx_inline_sub() [1/3]

template<typename R , typename X , typename Y >
void mx_inline_sub ( std::size_t  n,
R *  r,
const X *  x,
const Y *  y 
)
inline

◆ mx_inline_sub() [2/3]

template<typename R , typename X , typename Y >
void mx_inline_sub ( std::size_t  n,
R *  r,
const X *  x,
y 
)
inline

Definition at line 110 of file mx-inlines.cc.

◆ mx_inline_sub() [3/3]

template<typename R , typename X , typename Y >
void mx_inline_sub ( std::size_t  n,
R *  r,
x,
const Y *  y 
)
inline

Definition at line 110 of file mx-inlines.cc.

◆ mx_inline_sub2() [1/2]

template<typename R , typename X >
void mx_inline_sub2 ( std::size_t  n,
R *  r,
const X *  x 
)
inline

◆ mx_inline_sub2() [2/2]

template<typename R , typename X >
void mx_inline_sub2 ( std::size_t  n,
R *  r,
x 
)
inline

Definition at line 129 of file mx-inlines.cc.

◆ mx_inline_sum() [1/6]

template<typename T >
T mx_inline_sum ( const T *  v,
octave_idx_type  n 
)
inline

◆ mx_inline_sum() [2/6]

template<typename T >
T mx_inline_sum ( const T *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 963 of file mx-inlines.cc.

◆ mx_inline_sum() [3/6]

template<typename T >
void mx_inline_sum ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1105 of file mx-inlines.cc.

◆ mx_inline_sum() [4/6]

template<typename T >
void mx_inline_sum ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1142 of file mx-inlines.cc.

◆ mx_inline_sum() [5/6]

template<typename T >
void mx_inline_sum ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 987 of file mx-inlines.cc.

◆ mx_inline_sum() [6/6]

template<typename T >
void mx_inline_sum ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1029 of file mx-inlines.cc.

◆ mx_inline_sumsq() [1/12]

template<typename T >
T mx_inline_sumsq ( const std::complex< T > *  v,
octave_idx_type  n 
)
inline

Definition at line 937 of file mx-inlines.cc.

◆ mx_inline_sumsq() [2/12]

template<typename T >
T mx_inline_sumsq ( const std::complex< T > *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 968 of file mx-inlines.cc.

◆ mx_inline_sumsq() [3/12]

template<typename T >
void mx_inline_sumsq ( const std::complex< T > *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1111 of file mx-inlines.cc.

◆ mx_inline_sumsq() [4/12]

template<typename T >
void mx_inline_sumsq ( const std::complex< T > *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1147 of file mx-inlines.cc.

◆ mx_inline_sumsq() [5/12]

template<typename T >
void mx_inline_sumsq ( const std::complex< T > *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 993 of file mx-inlines.cc.

◆ mx_inline_sumsq() [6/12]

template<typename T >
void mx_inline_sumsq ( const std::complex< T > *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1034 of file mx-inlines.cc.

◆ mx_inline_sumsq() [7/12]

template<typename T >
T mx_inline_sumsq ( const T *  v,
octave_idx_type  n 
)
inline

◆ mx_inline_sumsq() [8/12]

template<typename T >
T mx_inline_sumsq ( const T *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 967 of file mx-inlines.cc.

◆ mx_inline_sumsq() [9/12]

template<typename T >
void mx_inline_sumsq ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u 
)
inline

Definition at line 1110 of file mx-inlines.cc.

◆ mx_inline_sumsq() [10/12]

template<typename T >
void mx_inline_sumsq ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 1146 of file mx-inlines.cc.

◆ mx_inline_sumsq() [11/12]

template<typename T >
void mx_inline_sumsq ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n 
)
inline

Definition at line 992 of file mx-inlines.cc.

◆ mx_inline_sumsq() [12/12]

template<typename T >
void mx_inline_sumsq ( const T *  v,
T *  r,
octave_idx_type  m,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 1033 of file mx-inlines.cc.

◆ mx_inline_uminus()

template<typename R , typename X >
void mx_inline_uminus ( std::size_t  n,
R *  r,
const X *  x 
)
inline

Definition at line 57 of file mx-inlines.cc.

References x.

Referenced by operator-().

◆ mx_inline_uminus2()

template<typename R >
void mx_inline_uminus2 ( std::size_t  n,
R *  r 
)
inline

Definition at line 65 of file mx-inlines.cc.

Referenced by MArray< T >::changesign().

◆ mx_inline_xmax() [1/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
const T *  x,
const T *  y 
)
inline

Definition at line 418 of file mx-inlines.cc.

References x.

Referenced by max(), max(), and max().

◆ mx_inline_xmax() [2/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
const T *  x,
const T *  y,
const bool  nanflag 
)
inline

Definition at line 426 of file mx-inlines.cc.

References x.

◆ mx_inline_xmax() [3/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
const T *  x,
const T *  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 434 of file mx-inlines.cc.

References x.

◆ mx_inline_xmax() [4/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
const T *  x,
y 
)
inline

Definition at line 443 of file mx-inlines.cc.

References x.

◆ mx_inline_xmax() [5/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
const T *  x,
y,
const bool  nanflag 
)
inline

Definition at line 451 of file mx-inlines.cc.

References x.

◆ mx_inline_xmax() [6/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
const T *  x,
y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 459 of file mx-inlines.cc.

References x.

◆ mx_inline_xmax() [7/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
x,
const T *  y 
)
inline

Definition at line 468 of file mx-inlines.cc.

References x.

◆ mx_inline_xmax() [8/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
x,
const T *  y,
const bool  nanflag 
)
inline

Definition at line 476 of file mx-inlines.cc.

References x.

◆ mx_inline_xmax() [9/9]

template<typename T >
void mx_inline_xmax ( std::size_t  n,
T *  r,
x,
const T *  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 484 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [1/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
const T *  x,
const T *  y 
)
inline

Definition at line 343 of file mx-inlines.cc.

References x.

Referenced by min(), min(), and min().

◆ mx_inline_xmin() [2/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
const T *  x,
const T *  y,
const bool  nanflag 
)
inline

Definition at line 351 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [3/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
const T *  x,
const T *  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 359 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [4/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
const T *  x,
y 
)
inline

Definition at line 368 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [5/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
const T *  x,
y,
const bool  nanflag 
)
inline

Definition at line 376 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [6/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
const T *  x,
y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 384 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [7/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
x,
const T *  y 
)
inline

Definition at line 393 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [8/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
x,
const T *  y,
const bool  nanflag 
)
inline

Definition at line 401 of file mx-inlines.cc.

References x.

◆ mx_inline_xmin() [9/9]

template<typename T >
void mx_inline_xmin ( std::size_t  n,
T *  r,
x,
const T *  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 409 of file mx-inlines.cc.

References x.

◆ mx_inline_xsum() [1/3]

template<typename T >
T mx_inline_xsum ( const T *  v,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 4276 of file mx-inlines.cc.

References twosum_accum().

Referenced by ComplexNDArray::xsum(), and NDArray::xsum().

◆ mx_inline_xsum() [2/3]

template<typename T >
void mx_inline_xsum ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
bool  nanflag 
)
inline

Definition at line 4331 of file mx-inlines.cc.

References twosum_accum().

◆ mx_inline_xsum() [3/3]

template<typename T >
void mx_inline_xsum ( const T *  v,
T *  r,
octave_idx_type  l,
octave_idx_type  n,
octave_idx_type  u,
bool  nanflag 
)
inline

Definition at line 4385 of file mx-inlines.cc.

◆ op_dble_prod() [1/3]

void op_dble_prod ( Complex ac,
const FloatComplex el 
)
inline

Definition at line 866 of file mx-inlines.cc.

◆ op_dble_prod() [2/3]

template<typename T >
void op_dble_prod ( double ac,
const octave_int< T > &  el 
)
inline

Definition at line 873 of file mx-inlines.cc.

References octave_int< T >::double_value().

◆ op_dble_prod() [3/3]

void op_dble_prod ( double ac,
float  el 
)
inline

Definition at line 859 of file mx-inlines.cc.

◆ op_dble_sum() [1/3]

void op_dble_sum ( Complex ac,
const FloatComplex el 
)
inline

Definition at line 886 of file mx-inlines.cc.

◆ op_dble_sum() [2/3]

template<typename T >
void op_dble_sum ( double ac,
const octave_int< T > &  el 
)
inline

Definition at line 893 of file mx-inlines.cc.

References octave_int< T >::double_value().

◆ op_dble_sum() [3/3]

void op_dble_sum ( double ac,
float  el 
)
inline

Definition at line 879 of file mx-inlines.cc.

◆ twosum_accum()

template<typename T >
void twosum_accum ( T &  s,
T &  e,
const T &  x 
)
inline

Definition at line 4252 of file mx-inlines.cc.

References x.

Referenced by mx_inline_xsum(), and mx_inline_xsum().

◆ xis_false() [1/6]

bool xis_false ( const Complex x)
inline

Definition at line 836 of file mx-inlines.cc.

References x.

◆ xis_false() [2/6]

bool xis_false ( const FloatComplex x)
inline

Definition at line 848 of file mx-inlines.cc.

References x.

◆ xis_false() [3/6]

template<typename T >
bool xis_false ( const octave_int< T > &  x)
inline

Definition at line 798 of file mx-inlines.cc.

References x.

◆ xis_false() [4/6]

bool xis_false ( double  x)
inline

Definition at line 811 of file mx-inlines.cc.

References x.

◆ xis_false() [5/6]

bool xis_false ( float  x)
inline

Definition at line 823 of file mx-inlines.cc.

References x.

◆ xis_false() [6/6]

template<typename T >
bool xis_false ( x)
inline

Definition at line 783 of file mx-inlines.cc.

References x.

◆ xis_true() [1/6]

bool xis_true ( const Complex x)
inline

Definition at line 830 of file mx-inlines.cc.

References x.

◆ xis_true() [2/6]

bool xis_true ( const FloatComplex x)
inline

Definition at line 842 of file mx-inlines.cc.

References x.

◆ xis_true() [3/6]

template<typename T >
bool xis_true ( const octave_int< T > &  x)
inline

Definition at line 791 of file mx-inlines.cc.

References x.

◆ xis_true() [4/6]

bool xis_true ( double  x)
inline

Definition at line 805 of file mx-inlines.cc.

References x.

◆ xis_true() [5/6]

bool xis_true ( float  x)
inline

Definition at line 817 of file mx-inlines.cc.

References x.

◆ xis_true() [6/6]

template<typename T >
bool xis_true ( x)
inline

Definition at line 776 of file mx-inlines.cc.

References x.