GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mx-inlines.cc File Reference
#include <cstddef>
#include <cmath>
#include <algorithm>
#include "Array-util.h"
#include "Array.h"
#include "bsxfun.h"
#include "oct-cmplx.h"
#include "oct-inttypes-fwd.h"
#include "oct-locbuf.h"
Include dependency graph for mx-inlines.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFMINMAXSPEC(T, F, OP)
 
#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_CUM_FCN(F, TSRC, TRES, OP)
 
#define OP_CUM_FCN2(F, TSRC, TRES, OP)
 
#define OP_CUM_FCNN(F, TSRC, TRES)
 
#define OP_CUMMINMAX_FCN(F, OP)
 
#define OP_CUMMINMAX_FCN2(F, OP)
 
#define OP_CUMMINMAX_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_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, 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, 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, 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, void(*mx_cumminmax_op)(const R *, R *, octave_idx_type *, octave_idx_type, octave_idx_type, octave_idx_type))
 
template<typename R >
Array< R > do_mx_cumminmax_op (const Array< R > &src, int dim, void(*mx_cumminmax_op)(const R *, R *, octave_idx_type, octave_idx_type, octave_idx_type))
 
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 >
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, 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, 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, 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, void(*op)(std::size_t, R *, X, const Y *))
 
 for (octave_idx_type i=0;i< n;i++) ac+ = i
 
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_finite (std::size_t n, const T *x)
 
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 >
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_count (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 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)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type *ri, octave_idx_type n)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cummax (const T *v, T *r, octave_idx_type n)
 
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)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type *ri, octave_idx_type n)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_cummin (const T *v, T *r, octave_idx_type n)
 
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 m, octave_idx_type n)
 
template<typename T >
void mx_inline_cumprod (const T *v, T *r, octave_idx_type n)
 
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 m, octave_idx_type n)
 
template<typename T >
void mx_inline_cumsum (const T *v, T *r, octave_idx_type n)
 
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 >
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_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 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 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 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)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type *ri, octave_idx_type n)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_max (const T *v, T *r, octave_idx_type n)
 
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)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type *ri, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type *ri, octave_idx_type n)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
template<typename T >
void mx_inline_min (const T *v, T *r, octave_idx_type n)
 
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 >
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_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 >
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_sumsq (const std::complex< T > *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
mx_inline_sumsq (const T *v, octave_idx_type n)
 
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 m, octave_idx_type n)
 
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, T y)
 
template<typename T >
void mx_inline_xmax (std::size_t n, T *r, T x, const T *y)
 
template<>
void mx_inline_xmax< double > (std::size_t n, double *r, const double *x, double y)
 
template<>
void mx_inline_xmax< double > (std::size_t n, double *r, double x, const double *y)
 
template<>
void mx_inline_xmax< float > (std::size_t n, float *r, const float *x, float y)
 
template<>
void mx_inline_xmax< float > (std::size_t n, float *r, float x, const float *y)
 
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, T y)
 
template<typename T >
void mx_inline_xmin (std::size_t n, T *r, T x, const T *y)
 
template<>
void mx_inline_xmin< double > (std::size_t n, double *r, const double *x, double y)
 
template<>
void mx_inline_xmin< double > (std::size_t n, double *r, double x, const double *y)
 
template<>
void mx_inline_xmin< float > (std::size_t n, float *r, const float *x, float y)
 
template<>
void mx_inline_xmin< float > (std::size_t n, float *r, float x, const float *y)
 
template<typename T >
mx_inline_xsum (const T *v, octave_idx_type n)
 
template<typename T >
void mx_inline_xsum (const T *v, T *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
 
template<typename T >
void mx_inline_xsum (const T *v, T *r, octave_idx_type m, octave_idx_type n)
 
 OOP_RED_FCN (mx_inline_all, T, bool, OP_RED_ALLC, true) template< typename T > inline void mx_inline_sum(const T *v
 
 OOP_RED_FCN (mx_inline_dsum, T, typename subst_template_param< std::complex, T, double >::type, op_dble_sum, 0.0) template< typename T > inline T mx_inline_count(const bool *v
 
 OOP_RED_FCN (mx_inline_prod, T, T, OP_RED_PROD, 1) template< typename T > inline typename subst_template_param< std
 
 OOP_RED_FCN (mx_inline_sumsq, std::complex< T >, T, OP_RED_SUMSQC, 0) template< typename T > inline bool mx_inline_any(const T *v
 
 OOP_RED_FCN2 (mx_inline_all_r, T, bool, OP_RED_ALLR, true) template< typename T > inline void mx_inline_any(const T *v
 
 OOP_RED_FCN2 (mx_inline_dsum, T, typename subst_template_param< std::complex, T, double >::type, op_dble_sum, 0.0) template< typename T > inline void mx_inline_count(const bool *v
 
 OOP_RED_FCN2 (mx_inline_prod, T, T, OP_RED_PROD, 1) template< typename T > inline void mx_inline_dprod(const T *v
 
 OOP_RED_FCN2 (mx_inline_sumsq, std::complex< T >, T, OP_RED_SUMSQC, 0) template< typename T > inline void mx_inline_any_r(const T *v
 
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)
 

Variables

return ac
 
else continue
 
octave_idx_typeiact = octave_local_buffer_iact .get ()
 
T octave_idx_type m
 
octave_idx_type n { T ac = 0
 
octave_idx_type nact = m
 
std::unique_ptr< octave_idx_type[]> octave_local_buffer_iact { new octave_idx_type [ m ] }
 
T * r
 

Macro Definition Documentation

◆ DEFMINMAXSPEC

#define DEFMINMAXSPEC (   T,
  F,
  OP 
)
Value:
template <> \
inline void F<T> (std::size_t n, T *r, const T *x, T y) \
{ \
std::memcpy (r, x, n * sizeof (T)); \
for (std::size_t i = 0; i < n; i++) \
r[i] = (x[i] OP y ? x[i] : y); \
} \
template <> \
inline void F<T> (std::size_t n, T *r, T x, const T *y) \
{ \
std::memcpy (r, y, n * sizeof (T)); \
for (std::size_t i = 0; i < n; i++) \
r[i] = (y[i] OP x ? y[i] : x); \
}
bool isnan(bool)
Definition: lo-mappers.h:178
F77_RET_T const F77_DBLE * x
for(octave_idx_type i=0;i< n;i++) ac+
Definition: mx-inlines.cc:756
octave_idx_type n
Definition: mx-inlines.cc:753
T * r
Definition: mx-inlines.cc:773

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

◆ 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]; \
}

Definition at line 87 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 112 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: mx-inlines.cc:161

Definition at line 193 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 131 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_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 854 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; \
} \
} \
}
T octave_idx_type m
Definition: mx-inlines.cc:773

Definition at line 871 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 895 of file mx-inlines.cc.

◆ OP_CUMMINMAX_FCN

#define OP_CUMMINMAX_FCN (   F,
  OP 
)

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

◆ OP_CUMMINMAX_FCN2

#define OP_CUMMINMAX_FCN2 (   F,
  OP 
)

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

◆ OP_CUMMINMAX_FCNN

#define OP_CUMMINMAX_FCNN (   F)

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

◆ OP_MINMAX_FCN

#define OP_MINMAX_FCN (   F,
  OP 
)

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

◆ OP_MINMAX_FCN2

#define OP_MINMAX_FCN2 (   F,
  OP 
)

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

◆ OP_MINMAX_FCNN

#define OP_MINMAX_FCNN (   F)

Definition at line 1067 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: mx-inlines.cc:604

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

◆ OP_RED_ALLR

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

◆ 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: mx-inlines.cc:597

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

◆ OP_RED_ANYR

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

◆ 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; \
}
return ac
Definition: mx-inlines.cc:753

Definition at line 738 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; \
} \
}

◆ 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 819 of file mx-inlines.cc.

◆ OP_RED_PROD

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

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

◆ OP_RED_SUM

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

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

◆ OP_RED_SUMSQ

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

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

◆ OP_RED_SUMSQC

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

Definition at line 677 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; \
}
octave_idx_type * iact
Definition: mx-inlines.cc:816
octave_idx_type nact
Definition: mx-inlines.cc:816

◆ PROMOTE_DOUBLE

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

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

Function Documentation

◆ cabsq()

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

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

◆ do_mm_binary_op()

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

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

References do_inplace_bsxfun_op(), err_nonconformant(), is_valid_inplace_bsxfun(), r, and x.

◆ do_ms_binary_op()

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 522 of file mx-inlines.cc.

References r, 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 561 of file mx-inlines.cc.

References r, 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 580 of file mx-inlines.cc.

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

◆ do_mx_cum_op()

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

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

◆ do_mx_cumminmax_op() [1/2]

template<typename R >
Array<R> do_mx_cumminmax_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_cumminmax_op 
)
inline

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

◆ do_mx_cumminmax_op() [2/2]

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

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

◆ 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

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

◆ 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 489 of file mx-inlines.cc.

References r.

◆ do_mx_minmax_op() [1/2]

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

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

◆ do_mx_minmax_op() [2/2]

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

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

◆ do_mx_red_op()

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

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

◆ 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 475 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 463 of file mx-inlines.cc.

References r, and x.

◆ do_sm_binary_op()

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

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

References Array< T, Alloc >::data(), Array< T, Alloc >::dims(), r, and x.

Referenced by max(), and min().

◆ for()

◆ get_extent_triplet()

void get_extent_triplet ( const dim_vector dims,
int &  dim,
octave_idx_type l,
octave_idx_type n,
octave_idx_type u 
)
inline

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

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

◆ logical_value() [1/3]

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

Definition at line 175 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 168 of file mx-inlines.cc.

References x.

◆ logical_value() [3/3]

template<typename T >
bool logical_value ( x)
inline

Definition at line 161 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 107 of file mx-inlines.cc.

Referenced by 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 107 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 107 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 126 of file mx-inlines.cc.

◆ mx_inline_all() [1/2]

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 852 of file mx-inlines.cc.

◆ mx_inline_all() [2/2]

template<typename T >
void mx_inline_all ( const T *  v,
bool *  r,
octave_idx_type  m,
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_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 216 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 216 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 216 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 225 of file mx-inlines.cc.

References logical_value(), n, r, 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 233 of file mx-inlines.cc.

References n, r, and 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 220 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 220 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 220 of file mx-inlines.cc.

◆ mx_inline_any()

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

◆ 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 283 of file mx-inlines.cc.

References n, and 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 296 of file mx-inlines.cc.

References n, and x.

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

◆ mx_inline_count()

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 846 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 923 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 893 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 869 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 
)
inline

Definition at line 1387 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 
)
inline

Definition at line 1328 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 
)

Definition at line 1194 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 
)
inline

Definition at line 1387 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 
)
inline

Definition at line 1328 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 
)

◆ 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 
)
inline

Definition at line 1386 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 
)
inline

Definition at line 1327 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 
)

Definition at line 1193 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 
)
inline

Definition at line 1386 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 
)
inline

Definition at line 1327 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 
)

◆ mx_inline_cumprod() [1/3]

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 922 of file mx-inlines.cc.

◆ mx_inline_cumprod() [2/3]

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

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

◆ mx_inline_cumprod() [3/3]

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

◆ mx_inline_cumsum() [1/3]

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 921 of file mx-inlines.cc.

◆ mx_inline_cumsum() [2/3]

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

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

◆ mx_inline_cumsum() [3/3]

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

◆ 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 1472 of file mx-inlines.cc.

◆ 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 1431 of file mx-inlines.cc.

◆ 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 110 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 110 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 110 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 129 of file mx-inlines.cc.

Referenced by 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 129 of file mx-inlines.cc.

◆ mx_inline_dprod()

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 848 of file mx-inlines.cc.

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

◆ mx_inline_dsum()

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

◆ 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 155 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 155 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 155 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 47 of file mx-inlines.cc.

References n, and r.

◆ 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 154 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 154 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 154 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 153 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 153 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 153 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 328 of file mx-inlines.cc.

References imag(), n, r, and x.

◆ mx_inline_iszero()

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

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

References n, r, and 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 152 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 152 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 152 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 151 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 151 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 151 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 445 of file mx-inlines.cc.

References n, r, and 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 
)
inline

Definition at line 1123 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 
)
inline

Definition at line 1065 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 
)

Definition at line 972 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 
)
inline

Definition at line 1123 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 
)
inline

Definition at line 1065 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 
)

◆ 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 
)
inline

Definition at line 1122 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 
)
inline

Definition at line 1064 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 
)

Definition at line 971 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 
)
inline

Definition at line 1122 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 
)
inline

Definition at line 1064 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 
)

◆ 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 109 of file mx-inlines.cc.

Referenced by kron().

◆ 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 109 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 109 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 128 of file mx-inlines.cc.

Referenced by 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 128 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 156 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 156 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 156 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 187 of file mx-inlines.cc.

References n, and r.

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 218 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 218 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 218 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 219 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 219 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 219 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 80 of file mx-inlines.cc.

References n, r, and 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 217 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 217 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 217 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 241 of file mx-inlines.cc.

References logical_value(), n, r, 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 249 of file mx-inlines.cc.

References n, r, and 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 221 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 221 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 221 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 414 of file mx-inlines.cc.

References n, pow(), r, 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 424 of file mx-inlines.cc.

References n, pow(), r, 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 434 of file mx-inlines.cc.

References n, pow(), r, and x.

◆ mx_inline_prod()

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

◆ 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 321 of file mx-inlines.cc.

References n, r, 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 108 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 108 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 127 of file mx-inlines.cc.

◆ mx_inline_sum() [1/2]

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

◆ mx_inline_sum() [2/2]

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 844 of file mx-inlines.cc.

◆ mx_inline_sumsq() [1/4]

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 850 of file mx-inlines.cc.

◆ mx_inline_sumsq() [2/4]

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

◆ mx_inline_sumsq() [3/4]

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 849 of file mx-inlines.cc.

◆ mx_inline_sumsq() [4/4]

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

Definition at line 776 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 55 of file mx-inlines.cc.

References n, r, and x.

Referenced by operator-().

◆ mx_inline_uminus2()

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

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

References n, and r.

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

◆ mx_inline_xmax() [1/3]

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

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

References max(), n, r, and x.

Referenced by max().

◆ mx_inline_xmax() [2/3]

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

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

References max(), n, r, and x.

◆ mx_inline_xmax() [3/3]

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

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

References max(), n, r, and x.

◆ mx_inline_xmax< double >() [1/2]

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

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

◆ mx_inline_xmax< double >() [2/2]

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

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

◆ mx_inline_xmax< float >() [1/2]

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

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

◆ mx_inline_xmax< float >() [2/2]

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

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

◆ mx_inline_xmin() [1/3]

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

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

References min(), n, r, and x.

Referenced by min().

◆ mx_inline_xmin() [2/3]

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

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

References min(), n, r, and x.

◆ mx_inline_xmin() [3/3]

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

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

References min(), n, r, and x.

◆ mx_inline_xmin< double >() [1/2]

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

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

◆ mx_inline_xmin< double >() [2/2]

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

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

◆ mx_inline_xmin< float >() [1/2]

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

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

◆ mx_inline_xmin< float >() [2/2]

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

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

◆ mx_inline_xsum() [1/3]

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

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

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,
octave_idx_type  u 
)
inline

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

◆ mx_inline_xsum() [3/3]

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

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

◆ OOP_RED_FCN() [1/4]

OOP_RED_FCN ( mx_inline_all  ,
,
bool  ,
OP_RED_ALLC  ,
true   
) const

◆ OOP_RED_FCN() [2/4]

OOP_RED_FCN ( mx_inline_dsum  ,
,
typename subst_template_param< std::complex, T, double >::type  ,
op_dble_sum  ,
0.  0 
) const

◆ OOP_RED_FCN() [3/4]

OOP_RED_FCN ( mx_inline_prod  ,
,
,
OP_RED_PROD  ,
 
)

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

◆ OOP_RED_FCN() [4/4]

OOP_RED_FCN ( mx_inline_sumsq  ,
std::complex< T >  ,
,
OP_RED_SUMSQC  ,
 
) const

◆ OOP_RED_FCN2() [1/4]

OOP_RED_FCN2 ( mx_inline_all_r  ,
,
bool  ,
OP_RED_ALLR  ,
true   
) const

◆ OOP_RED_FCN2() [2/4]

OOP_RED_FCN2 ( mx_inline_dsum  ,
,
typename subst_template_param< std::complex, T, double >::type  ,
op_dble_sum  ,
0.  0 
) const

◆ OOP_RED_FCN2() [3/4]

OOP_RED_FCN2 ( mx_inline_prod  ,
,
,
OP_RED_PROD  ,
 
) const

◆ OOP_RED_FCN2() [4/4]

OOP_RED_FCN2 ( mx_inline_sumsq  ,
std::complex< T >  ,
,
OP_RED_SUMSQC  ,
 
) const

◆ op_dble_prod() [1/3]

void op_dble_prod ( Complex ac,
const FloatComplex el 
)
inline

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

References ac.

◆ op_dble_prod() [2/3]

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

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

References ac, and octave_int< T >::double_value().

◆ op_dble_prod() [3/3]

void op_dble_prod ( double &  ac,
float  el 
)
inline

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

References ac.

◆ op_dble_sum() [1/3]

void op_dble_sum ( Complex ac,
const FloatComplex el 
)
inline

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

References ac.

◆ op_dble_sum() [2/3]

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

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

References ac, and octave_int< T >::double_value().

◆ op_dble_sum() [3/3]

void op_dble_sum ( double &  ac,
float  el 
)
inline

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

References ac.

◆ twosum_accum()

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

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

◆ xis_false() [1/6]

bool xis_false ( const Complex x)
inline

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

References x.

◆ xis_false() [2/6]

bool xis_false ( const FloatComplex x)
inline

Definition at line 669 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 619 of file mx-inlines.cc.

References x.

◆ xis_false() [4/6]

bool xis_false ( double  x)
inline

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

References x.

◆ xis_false() [5/6]

bool xis_false ( float  x)
inline

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

References x.

◆ xis_false() [6/6]

template<typename T >
bool xis_false ( x)
inline

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

References x.

◆ xis_true() [1/6]

bool xis_true ( const Complex x)
inline

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

References isnan(), and x.

◆ xis_true() [2/6]

bool xis_true ( const FloatComplex x)
inline

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

References isnan(), and x.

◆ xis_true() [3/6]

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

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

References x.

◆ xis_true() [4/6]

bool xis_true ( double  x)
inline

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

References isnan(), and x.

◆ xis_true() [5/6]

bool xis_true ( float  x)
inline

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

References isnan(), and x.

◆ xis_true() [6/6]

template<typename T >
bool xis_true ( x)
inline

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

References x.

Variable Documentation

◆ ac

◆ continue

else continue

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

◆ iact

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

◆ m

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

Referenced by Cell::Cell(), octave_class::exemplar_info::exemplar_info(), gsvd< T >::gsvd(), mxArray_base_full::mxArray_base_full(), mxArray_matlab::mxArray_matlab(), octave_map::octave_map(), octave_scalar_map::octave_scalar_map(), svd< T >::svd(), set_path_dialog::add_dir_common(), load_path::package_info::add_to_method_map(), Canvas::addEventMask(), ov_range< T >::all(), ov_range< T >::any(), any_all_test(), mxArray_struct::as_octave_value(), cmdline_options::as_octave_value(), Sparse< T, Alloc >::assign(), gtk_manager::available_toolkits_list(), rec_permute_helper::blk_trans(), blkmm_internal(), octave_sparse_matrix::bool_array_value(), cam2xform(), opengl_renderer::change_marker(), check_access(), check_limit_vals(), check_lu_dims(), check_qr_dims(), delimited_stream::clear(), Canvas::clearEventMask(), column_norms(), files_dock_widget::contextmenu_copy_selection(), files_dock_widget::contextmenu_delete(), files_dock_widget::contextmenu_findfiles(), files_dock_widget::contextmenu_load(), files_dock_widget::contextmenu_newdir(), files_dock_widget::contextmenu_newfile(), files_dock_widget::contextmenu_open(), files_dock_widget::contextmenu_open_in_app(), files_dock_widget::contextmenu_open_in_editor(), files_dock_widget::contextmenu_rename(), files_dock_widget::contextmenu_requested(), files_dock_widget::contextmenu_run(), stdiostream::create(), zstdiostream::create(), mxArray::create_rep(), default_axes_outerposition(), default_axes_position(), default_axes_tick(), default_axes_ticklength(), default_axes_view(), default_figure_paperposition(), default_figure_papersize(), default_figure_position(), default_image_cdata(), default_light_position(), default_lim(), default_patch_faces(), default_patch_vertices(), default_patch_xdata(), default_patch_ydata(), default_surface_xdata(), default_surface_ydata(), default_surface_zdata(), qr< T >::delete_col(), Array< T, Alloc >::delete_elements(), qr< T >::delete_row(), octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >::diag(), Cell::diag(), octave_base_matrix< MT >::diag(), octave_base_scalar< ST >::diag(), octave_complex::diag(), octave_complex_matrix::diag(), octave_float_scalar::diag(), octave_float_complex::diag(), octave_float_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), octave_scalar::diag(), octave_value::diag(), Array< T, Alloc >::diag(), boolNDArray::diag(), charNDArray::diag(), ComplexMatrix::diag(), ComplexNDArray::diag(), Matrix::diag(), NDArray::diag(), FloatComplexMatrix::diag(), FloatComplexNDArray::diag(), FloatMatrix::diag(), FloatNDArray::diag(), intNDArray< T >::diag(), ov_range< T >::diag(), dmdm_div_impl(), dmdm_leftdiv_impl(), dmm_leftdiv_impl(), dmperm_internal(), dmsolve(), dmsolve_extract(), do_bitpack(), do_bitunpack(), do_blkmm(), do_class_concat(), do_rand(), do_tril(), do_triu(), draw(), opengl_renderer::draw_patch(), opengl_renderer::draw_text_background(), fcn_info::fcn_info_rep::dump(), symbol_record::symbol_record_rep::dump(), symbol_scope_rep::dump(), symbol_table::dump(), octave_base_value::dump(), octave_user_code::dump(), octave_user_function::dump(), scalar_struct_model::edit_display(), vector_struct_model::edit_display(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), ellipj(), BaseControl::eventFilter(), ListBoxControl::eventFilter(), ButtonGroup::eventFilter(), Panel::eventFilter(), Table::eventFilter(), extract_tm(), F__fieldnames__(), F__voronoi__(), Fbitshift(), Fchol(), Fcholinv(), Fclass(), Fdbstatus(), Fdet(), Fdiag(), Fdot(), Fellipj(), Ferror(), Fget(), find_config_info(), load_path::package_info::find_method(), base_parser::finish_matrix(), Finv(), Fisfield(), float_identity_matrix(), Flu(), Fmatrix_type(), Fordschur(), qr< T >::form(), Fpinv(), Fqr(), Fquadcc(), Fqz(), Frandperm(), Frats(), Frcond(), Fresize(), Frmfield(), FSIG(), Fsize(), Fspalloc(), Fsparse(), Fstruct2cell(), Fterminal_size(), Funame(), Fwarning(), octave_sort< T >::gallop_left(), octave_sort< T >::gallop_right(), svd< T >::gejsv(), svd< T >::gesdd(), svd< T >::gesvd(), get_array_limits(), tree_evaluator::get_autoload_map(), get_blkmm_dims(), profiler::get_flat(), profiler::get_hierarchical(), get_object_dims(), get_red_dims(), files_dock_widget::get_selected_items_info(), workspace_view::get_var_name(), Vt102Emulation::getMode(), Screen::getMode(), gsvd< T >::ggsvd(), opengl_functions::glMultMatrixd(), glpk(), scalar_struct_model::header_data(), vector_struct_model::header_data(), hex2num(), higham(), identity_matrix(), Sparse< T, Alloc >::index(), internal_fcn_handle::info(), simple_fcn_handle::info(), scoped_fcn_handle::info(), base_nested_fcn_handle::info(), class_simple_fcn_handle::info(), base_anonymous_fcn_handle::info(), qr< T >::init(), qrp< T >::init(), opengl_selector::init_marker(), opengl_renderer::init_marker(), qr< T >::insert_col(), qr< T >::insert_row(), install_dld_function(), intfield(), sparse_chol< chol_type >::inverse(), isvector(), find_files_dialog::item_double_clicked(), sparse_chol< chol_type >::L(), lin_interpn(), linspace(), octave_class::load_ascii(), octave_struct::load_ascii(), octave_scalar_struct::load_ascii(), octave_bool_matrix::load_binary(), octave_sparse_bool_matrix::load_binary(), octave_class::load_binary(), octave_complex_diag_matrix::load_binary(), octave_complex_matrix::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_float_complex_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_float_matrix::load_binary(), octave_perm_matrix::load_binary(), octave_diag_matrix::load_binary(), octave_matrix::load_binary(), octave_sparse_matrix::load_binary(), octave_char_matrix_str::load_binary(), octave_struct::load_binary(), octave_scalar_struct::load_binary(), octave_base_int_matrix< T >::load_binary(), octave_sparse_bool_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_class::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_float_matrix::load_hdf5(), octave_matrix::load_hdf5(), octave_sparse_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_struct::load_hdf5(), octave_scalar_struct::load_hdf5(), octave_base_int_matrix< T >::load_hdf5_internal(), gtk_manager::loaded_toolkits_list(), find_files_dialog::look_for_files(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ltsolve(), LuAminusSigmaB(), lusolve(), make_format(), make_idx_args(), make_matrix_format(), make_sig_struct(), Array< T, Alloc >::map(), octave_bool_matrix::map(), octave_sparse_bool_matrix::map(), octave_bool::map(), octave_char_matrix::map(), octave_uint64_matrix::map(), octave_uint64_scalar::map(), map2Cell(), matrix_norm(), max(), max_str_len(), mdm_div_impl(), mexGet(), mexGet_interleaved(), min(), mk_gr_map(), mk_pw_map(), mk_stat_map(), mk_tm_map(), set_path_dialog::move_dir_bottom(), set_path_dialog::move_dir_down(), set_path_dialog::move_dir_top(), set_path_dialog::move_dir_up(), mxCreateCellMatrix(), mxCreateCellMatrix_interleaved(), mxCreateCharMatrixFromStrings(), mxCreateCharMatrixFromStrings_interleaved(), mxCreateDoubleMatrix(), mxCreateDoubleMatrix_interleaved(), mxCreateLogicalMatrix(), mxCreateLogicalMatrix_interleaved(), mxCreateNumericMatrix(), mxCreateNumericMatrix_interleaved(), mxCreateSparse(), mxCreateSparse_interleaved(), mxCreateSparseLogicalMatrix(), mxCreateSparseLogicalMatrix_interleaved(), mxCreateStructMatrix(), mxCreateStructMatrix_interleaved(), mxCreateUninitNumericMatrix(), mxCreateUninitNumericMatrix_interleaved(), mxSetM(), next_power_of_2(), Array< T, Alloc >::nth_element(), oct_binop_sub(), octave_print_diag_matrix_internal(), octave_print_free(), octave_print_internal(), octave_print_internal_template(), octave_print_matrix_internal(), operator*(), operator<<(), octave_map::operator=(), octave_scalar_map::operator=(), gejsv_lwork< T >::optimal(), load_path::package_info::overloads(), PermMatrix::pos_power(), PermMatrix::power(), pprsc(), pr_max_internal(), pr_min_internal(), pr_plus_format_matrix(), print_nd_array(), qs_preprocess(), qs_search(), resource_manager::read_lexer_settings(), read_mat5_binary_element(), read_mat5_integer_data(), scalar_struct_model::requires_sub_editor(), vector_struct_model::requires_sub_editor(), struct_model::requires_sub_editor(), Screen::resetMode(), Vt102Emulation::resetMode(), octave_base_magic_int< octave_uint64 >::resize(), DiagArray2< T >::resize(), octave_user_function::restore_warning_states(), Screen::restoreMode(), Vt102Emulation::restoreMode(), set_path_dialog::rm_dir(), row_norms(), octave_class::save_ascii(), octave_struct::save_ascii(), octave_scalar_struct::save_ascii(), octave_bool_matrix::save_binary(), octave_class::save_binary(), octave_complex_diag_matrix::save_binary(), octave_complex_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_float_complex_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_matrix::save_binary(), octave_char_matrix_str::save_binary(), octave_struct::save_binary(), octave_scalar_struct::save_binary(), load_save_system::save_fields(), octave_bool_matrix::save_hdf5(), octave_sparse_bool_matrix::save_hdf5(), octave_class::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_sparse_complex_matrix::save_hdf5(), octave_float_complex_matrix::save_hdf5(), octave_float_matrix::save_hdf5(), octave_matrix::save_hdf5(), octave_sparse_matrix::save_hdf5(), octave_char_matrix_str::save_hdf5(), octave_struct::save_hdf5(), octave_scalar_struct::save_hdf5(), save_mat5_binary_element(), save_mat5_element_length(), save_mat_ascii_data(), save_mat_binary_data(), Screen::saveMode(), Vt102Emulation::saveMode(), scale(), gui_settings::set_color_value(), mxArray_matlab::set_m(), mxArray::set_m(), ft_text_renderer::set_mode(), set_sig_struct_field(), Canvas::setEventMask(), Screen::setMode(), Vt102Emulation::setMode(), delimited_stream::setstate(), qr< T >::shift_cols(), Array< T, Alloc >::sort(), Sparse< T, Alloc >::sort(), stack_complex_matrix(), find_files_dialog::start_find(), find_files_dialog::stop_find(), stringfield(), scalar_struct_model::subscript_expression(), vector_struct_model::subscript_expression(), svd_matrix_norm(), mxArray_base_sparse::to_ov(), transform(), translate(), ov_range< T >::try_narrowing_conversion(), unit_cube(), unstack_complex_matrix(), lu< T >::update(), qr< T >::update(), settings_dialog::update_editor_lexers(), set_path_dialog::update_model(), lu< T >::update_piv(), settings_dialog::update_terminal_colors(), settings_dialog::update_varedit_colors(), settings_dialog::update_workspace_colors(), utsolve(), scalar_struct_model::value_at(), vector_struct_model::value_at(), struct_model::value_at(), vector_product(), windows_glob(), write_mat5_array(), write_mat5_integer_data(), xform(), xform_matrix(), xform_scale(), and xform_translate().

◆ n

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

Referenced by aepbalance< MT >::aepbalance(), Cell::Cell(), charNDArray::charNDArray(), ComplexNDArray::ComplexNDArray(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), gsvd< T >::gsvd(), ListBoxControl::ListBoxControl(), mxArray_matlab::mxArray_matlab(), NDArray::NDArray(), octave_class::octave_class(), octave_fields::octave_fields(), octave_value_list::octave_value_list(), PermMatrix::PermMatrix(), printf_format_list::printf_format_list(), scanf_format_list::scanf_format_list(), Sparse< T, Alloc >::Sparse(), string_vector::string_vector(), svd< T >::svd(), textscan_format_list::textscan_format_list(), tree_index_expression::tree_index_expression(), printf_format_list::~printf_format_list(), scanf_format_list::~scanf_format_list(), textscan_format_list::~textscan_format_list(), mxArray_struct::add_field(), scanf_format_list::all_character_conversions(), all_colon_equiv(), scanf_format_list::all_numeric_conversions(), all_ok(), octave_value_list::all_scalars(), octave_value_list::all_strings_p(), octave_user_function::all_va_args(), mxArray::alloc(), dim_vector::alloc(), octave_value_list::any_cell(), any_orig_empty(), octave_value_list::append(), tree_index_expression::append(), array_norm_2(), Array< T, Alloc >::assign(), Sparse< T, Alloc >::assign(), octave_base_matrix< MT >::assign(), idx_vector::assign(), lexical_feedback::token_cache::at(), Screen::backTabulate(), call_stack::backtrace_frames(), aepbalance< MT >::balancing_matrix(), bitshift(), blkmm_internal(), idx_vector::bloop(), tree_evaluator::breaking(), calc_single_subscript_internal(), calculate_step_vector2d(), calculate_step_vector3d(), mex::calloc(), mxArray::calloc(), mex::calloc_unmarked(), Array< T, Alloc >::cat(), octave_map::cat(), Sparse< T, Alloc >::cat(), Cell::cellstr_value(), check_lu_dims(), check_qr_dims(), idx_vector::idx_vector_rep::checkelem(), idx_vector::idx_mask_rep::checkelem(), Array< T, Alloc >::checkelem(), Sparse< T, Alloc >::checkelem(), octave_map::checkelem(), idx_vector::checkelem(), chol2inv_internal(), command_history::clean_up_and_save(), ComplexColumnVector::clear(), ComplexRowVector::clear(), ColumnVector::clear(), RowVector::clear(), FloatComplexColumnVector::clear(), FloatColumnVector::clear(), FloatComplexRowVector::clear(), FloatRowVector::clear(), idx_vector::complement(), Sparse< T, Alloc >::compute_index(), compute_index(), tree_evaluator::continuing(), octave_sort< T >::count_run(), stdiostream::create(), zstdiostream::create(), octave_iprocstream::create(), octave_oprocstream::create(), istream::create(), ostream::create(), mxArray::create_rep(), Screen::cursorDown(), Screen::cursorLeft(), Screen::cursorRight(), Screen::cursorUp(), tree_evaluator::dbupdown(), call_stack::dbupdown(), ddasrt_g(), tree_evaluator::debug_frame(), qr< T >::delete_col(), Array< T, Alloc >::delete_elements(), qr< T >::delete_row(), chol< T >::delete_sym(), Screen::deleteChars(), Screen::deleteLines(), dfopr(), octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >::diag(), Array< T, Alloc >::diag(), Sparse< T, Alloc >::diag(), Cell::diag(), octave_base_matrix< MT >::diag(), octave_base_scalar< ST >::diag(), octave_complex::diag(), octave_complex_matrix::diag(), octave_float_scalar::diag(), octave_float_complex::diag(), octave_float_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), octave_scalar::diag(), octave_value::diag(), boolNDArray::diag(), charNDArray::diag(), ComplexMatrix::diag(), ComplexNDArray::diag(), Matrix::diag(), NDArray::diag(), FloatComplexMatrix::diag(), FloatComplexNDArray::diag(), FloatMatrix::diag(), FloatNDArray::diag(), intNDArray< T >::diag(), ov_range< T >::dims(), dmdm_div_impl(), dmdm_leftdiv_impl(), dmm_leftdiv_impl(), do_accumarray_minmax(), do_accumarray_minmax_fcn(), do_accumarray_sum(), do_accumdim_sum(), do_bitpack(), do_bitunpack(), do_blkmm(), octave_map::do_cat(), do_cellslices_nda(), do_dbstack(), do_dbupdown(), command_editor::do_decode_prompt_string(), do_extended_gcd(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), do_linspace(), do_merge(), do_numeric_lookup(), do_permute(), do_rand(), do_rc_map(), do_repelems(), command_history::do_set_size(), do_simple_cellfun(), do_strcmp_fcn(), do_tril(), do_triu(), rand::do_vector(), chol< T >::downdate(), downdate(), opengl_renderer::draw_line(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), octave_value_list::elem(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::elem(), octave_map::elem(), idx_vector::elem(), elem_xpow(), call_stack::element(), ellipj(), octave_fields::equal_up_to_order(), Screen::eraseChars(), err_invalid_index(), tree_evaluator::evaluate_end_expression(), tree_multi_assignment::evaluate_n(), tree_index_expression::evaluate_n(), idx_vector::idx_colon_rep::extent(), idx_vector::idx_range_rep::extent(), idx_vector::idx_scalar_rep::extent(), idx_vector::idx_vector_rep::extent(), idx_vector::idx_mask_rep::extent(), idx_vector::extent(), ComplexRowVector::extract_n(), RowVector::extract_n(), FloatComplexRowVector::extract_n(), FloatRowVector::extract_n(), ComplexColumnVector::extract_n(), ColumnVector::extract_n(), FloatComplexColumnVector::extract_n(), FloatColumnVector::extract_n(), PermMatrix::eye(), F__accumarray_sum__(), F__accumdim_sum__(), F__delaunayn__(), F__dsearchn__(), F__eigs__(), F__fltk_uigetfile__(), F__ftp_dir__(), F__ftp_mget__(), F__get__(), F__lin_interpn__(), F__magick_read__(), F__pollardrho__(), F__version_info__(), Faddeeva_w(), octave_map::fast_elem_extract(), octave_base_diag< DMT, MT >::fast_elem_extract(), octave_base_matrix< MT >::fast_elem_extract(), octave_base_scalar< ST >::fast_elem_extract(), octave_base_sparse< T >::fast_elem_extract(), octave_lazy_index::fast_elem_extract(), octave_perm_matrix::fast_elem_extract(), ov_range< T >::fast_elem_extract(), octave_struct::fast_elem_extract(), octave_value::fast_elem_extract(), octave_map::fast_elem_insert(), octave_base_matrix< MT >::fast_elem_insert(), octave_struct::fast_elem_insert(), octave_value::fast_elem_insert(), Fbitshift(), Fcellslices(), Fchar(), Fchol(), Fcholdelete(), Fcholinsert(), Fcholshift(), Fcholupdate(), Fdblist(), Fdbstep(), Fdiag(), Fdlmread(), Fdot(), Fget(), octave_fields::fieldnames(), main_window::file_remove_proxy(), idx_vector::fill(), cdef_object_array::fill_empty_values(), fill_exif_floats(), fill_exif_ints(), Array< T, Alloc >::find(), find_nonzero_elem_idx(), scanf_format_list::finish_conversion(), textscan_format_list::finish_conversion(), Fisfield(), Fisindex(), float_identity_matrix(), rand::float_vector(), Flu(), Fnth_element(), Fordschur(), qr< T >::form(), fortran_psifn< double >(), fortran_psifn< float >(), ComplexNDArray::fourier(), NDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), Fquadcc(), Frandperm(), Frats(), freeze(), Freset(), Utils::fromStringVector(), Fset(), Fspalloc(), Fsparse(), Fsqrtm(), Fstrncmp(), Fstrncmpi(), Fstrvcat(), Fsymbfact(), profiler::stats::function_set_value(), octave_sort< T >::gallop_left(), octave_sort< T >::gallop_right(), svd< T >::gejsv(), svd< T >::gesdd(), svd< T >::gesvd(), get_array_limits(), get_blkmm_dims(), get_children_limits(), get_dim_vector(), get_dimensions(), get_dispatch_type(), get_elt_idx(), command_history::get_entry(), load_path::get_file_list(), profiler::get_flat(), profiler::tree_node::get_hierarchical(), file_info::get_line_offsets(), mxArray_octave_value::get_n(), mxArray_matlab::get_n(), printf_value_cache::get_next_value(), get_object_dims(), get_red_dims(), get_scalar_idx(), get_sort_mode(), file_stat::get_stats(), file_fstat::get_stats(), get_vec_dims(), octave_fields::getfield(), gsvd< T >::ggsvd(), opengl_functions::glDeleteTextures(), opengl_functions::glGenTextures(), glob(), glpk(), call_stack::goto_frame(), tree_evaluator::goto_frame(), octave_value_list::has_magic_colon(), hdf5_types_compatible(), EIG::hermitian_init(), FloatEIG::hermitian_init(), ichol_0(), ichol_t(), identity_matrix(), MArray< T >::idx_add(), MArray< T >::idx_add_nd(), MArray< double >::idx_max(), MArray< T >::idx_max(), ComplexNDArray::ifourier(), FloatComplexNDArray::ifourier(), FloatNDArray::ifourier(), ilu_0(), ilu_crout(), ilu_tp(), increment_index(), ind2sub(), range< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::index(), Range::index(), Array< T, Alloc >::index(), Sparse< T, Alloc >::index(), Cell::index(), idx_vector::index(), index_in_bounds(), FloatEIG::init(), hess< T >::init(), EIG::init(), chol< T >::init(), gepbalance< T >::init(), schur< T >::init(), qr< T >::init(), qrp< T >::init(), init_mersenne_twister(), inner_do_add_sm_dm(), Array< T, Alloc >::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), qr< T >::insert_col(), qr< T >::insert_row(), chol< T >::insert_sym(), Screen::insertChars(), Screen::insertLines(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), sparse_chol< chol_type >::inverse(), idx_vector::inverse_permutation(), idx_vector::idx_range_rep::is_colon_equiv(), idx_vector::idx_scalar_rep::is_colon_equiv(), idx_vector::idx_mask_rep::is_colon_equiv(), idx_vector::is_colon_equiv(), idx_vector::is_cont_range(), idx_vector::is_permutation(), is_scalar(), octave_sort< T >::is_sorted_rows(), Cell::iscellstr(), isprimescalar(), Array< T, Alloc >::issorted(), Array< octave_value * >::issorted(), isvector(), jcobi(), idx_vector::idx_colon_rep::length(), idx_vector::length(), lin_interpn(), linspace(), curl_transfer::list(), octave_perm_matrix::load_ascii(), Array< T, Alloc >::lookup(), lookup(), idx_vector::loop(), octave_int_arith_base< T, false >::lshift(), octave_int_arith_base< T, true >::lshift(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ltsolve(), LuAminusSigmaB(), tree_index_expression::lvalue(), octave_value_list::make_argv(), make_cholb(), dim_vector::make_nd_vector(), make_option_struct(), tree_evaluator::make_value_list(), mex::malloc(), mxArray::malloc(), mex::malloc_unmarked(), mark_upper_triangular(), glob_match::match(), string_vector::max_length(), tree_evaluator::max_recursion_depth(), idx_vector::maybe_reduce(), mdm_div_impl(), octave_sort< T >::merge_collapse(), octave_sort< T >::merge_compute_minrun(), octave_sort< T >::merge_force_collapse(), millerrabin(), mod(), mx_inline_all_finite(), mx_inline_all_real(), mx_inline_and2(), mx_inline_any_nan(), mx_inline_any_negative(), mx_inline_any_positive(), mx_inline_diff(), mx_inline_equal(), mx_inline_fill(), mx_inline_imag(), mx_inline_iszero(), mx_inline_map(), mx_inline_not(), mx_inline_not2(), mx_inline_notzero(), mx_inline_or2(), mx_inline_pow(), mx_inline_real(), mx_inline_uminus(), mx_inline_uminus2(), mx_inline_xmax(), mx_inline_xmin(), mxCalloc(), mxCreateCellMatrix(), mxCreateCellMatrix_interleaved(), mxCreateDoubleMatrix(), mxCreateDoubleMatrix_interleaved(), mxCreateLogicalMatrix(), mxCreateLogicalMatrix_interleaved(), mxCreateNumericMatrix(), mxCreateNumericMatrix_interleaved(), mxCreateSparse(), mxCreateSparse_interleaved(), mxCreateSparseLogicalMatrix(), mxCreateSparseLogicalMatrix_interleaved(), mxCreateStructMatrix(), mxCreateStructMatrix_interleaved(), mxCreateUninitNumericMatrix(), mxCreateUninitNumericMatrix_interleaved(), mxMalloc(), mxSetN(), native_separator_path(), next_power_of_2(), Array< T, Alloc >::nth_element(), null(), num2hex(), dim_vector::numel(), octave__scan_bytes(), octave_qhull_dims_ok(), octave_strncasecmp(), octave_tex__scan_bytes(), octave_u8_check_wrapper(), octave_u8_mbsnlen_wrapper(), octave_u8_tolower_wrapper(), octave_u8_toupper_wrapper(), octregexp(), idx_vector::ones_count(), bsxfun_wrapper< R, X, Y, F >::op_mm(), bsxfun_wrapper< R, X, Y, F >::op_ms(), bsxfun_wrapper< R, X, Y, F >::op_sm(), dir_entry::open(), octave_value_list::operator()(), Array< T, Alloc >::operator()(), Sparse< T, Alloc >::operator()(), octave_map::operator()(), idx_vector::operator()(), operator*(), Sparse< T >::operator=(), gejsv_lwork< T >::optimal(), octave_fields::orderfields(), textscan::parse_options(), env::pathname_backup(), permute_to_correct_order(), aepbalance< MT >::permuting_vector(), poisson_cdf_lookup(), poisson_rejection(), pollardrho(), PermMatrix::pos_power(), pown(), octave_value_list::prepend(), ov_range< T >::print_name_tag(), tree_print_code::print_parens(), scanf_format_list::printme(), printf_format_list::printme(), textscan_format_list::printme(), textscan_format_list::process_conversion(), printf_format_list::process_conversion(), scanf_format_list::process_conversion(), psi(), put_int(), sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q(), qp(), qs_search(), rand_exponential(), rand_gamma(), rand_normal(), rand_poisson(), rand_uniform(), rand_uniform< double >(), Sparse< T, Alloc >::range_error(), rational_approx(), read_mat5_binary_element(), mex::realloc(), dim_vector::redim(), reinterpret_copy(), reinterpret_int_copy(), rem(), command_history::remove(), mxArray_struct::remove_field(), command_editor::reset_current_command_number(), Sparse< T, Alloc >::resize(), octave_base_magic_int< octave_uint64 >::resize(), dim_vector::resize(), ComplexColumnVector::resize(), ComplexRowVector::resize(), ColumnVector::resize(), RowVector::resize(), FloatColumnVector::resize(), FloatRowVector::resize(), FloatComplexColumnVector::resize(), FloatComplexRowVector::resize(), octave_value_list::resize(), string_vector::resize(), DiagArray2< T >::resize(), Sparse< T, Alloc >::resize1(), Array< T, Alloc >::resize1(), call_stack::restore_frame(), tree_evaluator::restore_frame(), file_editor::restore_session(), tree_evaluator::returning(), octave_value_list::reverse(), octave_fields::rmfield(), roundupsize(), rsf2csf< ComplexMatrix, Matrix >(), rsf2csf< FloatComplexMatrix, FloatMatrix >(), octave_int_arith_base< T, false >::rshift(), octave_int_arith_base< T, true >::rshift(), dim_vector::safe_numel(), octave_perm_matrix::save_ascii(), save_mat5_binary_element(), aepbalance< MT >::scaling_vector(), Screen::scrollDown(), Screen::scrollUp(), opengl_selector::select(), command_history::set_mark(), mxArray_matlab::set_n(), mxArray::set_n(), command_editor::set_name(), opengl_renderer::set_normal(), command_history::set_size(), Vt102Emulation::setAndUseCharset(), gzfilebuf::setbuf(), Vt102Emulation::setCharset(), Emulation::setScreen(), PermMatrix::setup(), qr< T >::shift_cols(), chol< T >::shift_sym(), octave_sort< T >::sort(), sqrtm_utri_inplace(), stack_complex_matrix(), command_history::stifle(), str_data_cmp(), str_data_cmpi(), octave_char_matrix_str::string_vector_value(), Cell::string_vector_value(), strip_spaces(), sub2ind(), cdef_object_array::subsasgn(), octave_cell::subsasgn(), octave_struct::subsasgn(), octave_scalar_struct::subsasgn(), octave_class::subsasgn_common(), cdef_object_array::subsref(), swap_bytes(), symetree(), FloatEIG::symmetric_init(), EIG::symmetric_init(), Screen::Tabulate(), tilde_expand(), mxArray_base_sparse::to_ov(), tree_postorder(), command_history::truncate_file(), unstack_complex_matrix(), chol< T >::update(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), Table::updateColumnname(), Table::updateRowname(), updateSelection(), Vt102Emulation::useCharset(), utsolve(), rand::vector(), vector_equivalent(), ft_text_renderer::visit(), tree_evaluator::visit_complex_for_command(), tree_print_code::visit_index_expression(), tree_walker::visit_index_expression(), base_lexer::warn_language_extension_operator(), windows_glob(), idx_vector::idx_mask_rep::xelem(), Array< T, Alloc >::xelem(), Sparse< T, Alloc >::xelem(), idx_vector::xelem(), xmalloc(), xpsi(), xrealloc(), c_file_ptr_buf::xsgetn(), c_zfile_ptr_buf::xsgetn(), c_file_ptr_buf::xsputn(), and c_zfile_ptr_buf::xsputn().

◆ nact

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

◆ octave_local_buffer_iact

std::unique_ptr< octave_idx_type []> octave_local_buffer_iact { new octave_idx_type [ m ] }

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

◆ r

bool * r

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

Referenced by DiagArray2< T >::DiagArray2(), dim_vector::dim_vector(), idx_vector::idx_range_rep::idx_range_rep(), Sparse< T, Alloc >::Sparse(), Sparse< T, Alloc >::SparseRep::SparseRep(), text_element_color::text_element_color(), documentation::add_action(), dw_main_window::add_action(), file_editor::add_action(), Figure::addCustomToolBar(), GenericEventNotifySender::addReceiver(), tm_const::array_concat_internal(), Array< T, Alloc >::assign(), idx_vector::assign(), octave_sort< T >::binarysort(), idx_vector::bloop(), boundingBoxToRect(), Sparse< T, Alloc >::SparseRep::celem(), DiagArray2< T >::check_idx(), check_qr_dims(), DiagArray2< T >::checkelem(), chol2inv(), chol2inv_internal(), Array< T, Alloc >::clear(), cntr(), ComplexDiagMatrix::column(), DiagMatrix::column(), FloatComplexDiagMatrix::column(), FloatDiagMatrix::column(), Array< T, Alloc >::column(), idx_vector::complement(), idx_vector::copy_data(), cpolar(), cross(), Sparse< T, Alloc >::delete_elements(), divide(), dmperm_internal(), dmsolve_extract(), dmsolve_insert(), dmsolve_permute(), do_erfcinv(), do_erfinv(), do_inplace_bsxfun_op(), do_leftdiv_dm_sm(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_ms_inplace_op(), do_mul_dm_sm(), do_mul_sm_dm(), do_mx_inplace_op(), do_mx_unary_op(), do_rand(), do_rightdiv_sm_dm(), do_sm_binary_op(), do_strcmp_fcn(), do_tril(), do_triu(), drawcn(), octave_struct::edit_display(), octave_scalar_struct::edit_display(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricMatrixShift(), DiagArray2< T >::elem(), Sparse< T, Alloc >::SparseRep::elem(), elem_xpow(), F__accumarray_sum__(), Faddpath(), octave_base_diag< DMT, MT >::fast_elem_extract(), octave_perm_matrix::fast_elem_extract(), Fchol2inv(), Fcolloc(), Fdlmread(), idx_vector::fill(), fcn_info::fcn_info_rep::find_scoped_function(), Fisargout(), flogfak(), Frandperm(), Frepelems(), documentation::global_search_finished(), QConsolePrivate::grabConsoleBuffer(), H_heapify_min(), H_remove_min(), octave_dock_widget::handle_settings(), ichol_0(), ilu_0(), intNDArray< octave_uint8 >::increment_index(), Array< T, Alloc >::index(), idx_vector::index(), inner_do_add_sm_dm(), Array< T, Alloc >::insert(), boolMatrix::insert(), boolNDArray::insert(), Cell::insert(), charMatrix::insert(), charNDArray::insert(), ComplexColumnVector::insert(), ColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), FloatComplexMatrix::insert(), FloatMatrix::insert(), FloatNDArray::insert(), ComplexMatrix::insert(), Matrix::insert(), ComplexNDArray::insert(), NDArray::insert(), FloatComplexNDArray::insert(), MSparse< T >::insert(), Sparse< T >::insert(), Sparse< T, Alloc >::insert(), SparseBoolMatrix::insert(), SparseComplexMatrix::insert(), SparseMatrix::insert(), int_multiply_overflow(), ComplexDiagMatrix::inverse(), DiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), FloatDiagMatrix::inverse(), idx_vector::inverse_permutation(), idx_vector::is_cont_range(), Array< T, Alloc >::is_sorted_rows(), isprimescalar(), Array< T, Alloc >::issorted(), octave_base_diag< DMT, MT >::load_ascii(), octave_complex_diag_matrix::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_diag_matrix::load_binary(), log1p(), idx_vector::loop(), LuAminusSigmaB(), cdef_object_base::make_array(), make_format(), opengl_renderer::make_marker_list(), octave_fields::make_unique(), octave_value::make_unique(), Array< T, Alloc >::make_unique(), Sparse< T, Alloc >::make_unique(), Utils::makeImageFromCData(), Cell::map(), mark_facets(), mat2cell_mismatch(), max(), idx_vector::maybe_reduce(), octave_sort< T >::merge_compute_minrun(), millerrabin(), min(), octave_int_arith_base< T, true >::mod(), mx_inline_and2(), mx_inline_diff(), mx_inline_fill(), mx_inline_imag(), mx_inline_iszero(), mx_inline_map(), mx_inline_not(), mx_inline_not2(), mx_inline_notzero(), mx_inline_or2(), mx_inline_pow(), mx_inline_real(), mx_inline_uminus(), mx_inline_uminus2(), mx_inline_xmax(), mx_inline_xmin(), GenericEventNotifySender::notifyReceiversAfter(), GenericEventNotifySender::notifyReceiversBefore(), octave_i_multiply_overflow_wrapper(), octave_li_multiply_overflow_wrapper(), octave_print_internal(), octave_ui_multiply_overflow_wrapper(), octave_uli_multiply_overflow_wrapper(), octinternal_do_mul_colpm_sm(), octinternal_do_mul_sm_colpm(), octinternal_do_mul_sm_rowpm(), bsxfun_wrapper< R, X, Y, F >::op_mm(), bsxfun_wrapper< R, X, Y, F >::op_ms(), bsxfun_wrapper< R, X, Y, F >::op_sm(), SparseBoolMatrix::operator!(), SparseComplexMatrix::operator!(), SparseMatrix::operator!(), DiagArray2< T >::operator()(), operator*(), ComplexDiagMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), DASRT_result::operator=(), range< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::operator=(), Array< T, Alloc >::page(), TerminalView::paintFilters(), plus_or_minus(), pr_float(), ft_text_renderer::process_character(), product(), ComplexDiagMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), Q_deq(), quotient(), rand_gamma(), rand_normal< double >(), rand_normal< float >(), idx_vector::raw(), read_mat_binary_data(), GenericEventNotifySender::removeReceiver(), DiagArray2< T >::resize(), Sparse< T, Alloc >::resize(), Array< T, Alloc >::resize2(), ComplexDiagMatrix::row(), DiagMatrix::row(), FloatComplexDiagMatrix::row(), FloatDiagMatrix::row(), charMatrix::row_as_string(), safemultiply(), octave_complex_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), save_mat_binary_data(), Canvas::select_object(), Figure::set_geometry(), QConsolePrivate::setHorizontalScrollValue(), QConsolePrivate::setVerticalScrollValue(), Figure::showCustomToolBar(), Figure::showFigureStatusBar(), Array< T, Alloc >::sort_rows_idx(), sparse_indices_ok(), cdef_object_array::subsref(), opengl_texture::texture_rep::tex_coord(), opengl_texture::tex_coord(), times_or_divide(), times_or_divides(), idx_vector::unconvert(), idx_vector::unmask(), lu< T >::update(), lu< T >::update_piv(), Figure::updateBoundingBox(), Figure::updateFigureHeight(), fcn_info::fcn_info_rep::x_builtin_find(), DiagArray2< T >::xelem(), xload_ascii(), xload_binary(), xload_hdf5(), xpow(), xsave_ascii(), xsave_binary(), and xsave_hdf5().