GNU Octave  9.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"

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:764
octave_idx_type n
Definition: mx-inlines.cc:761
T * r
Definition: mx-inlines.cc:781

Definition at line 388 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 88 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 113 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:162

Definition at line 196 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 132 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 862 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:781

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

◆ OP_CUMMINMAX_FCN

#define OP_CUMMINMAX_FCN (   F,
  OP 
)

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

◆ OP_CUMMINMAX_FCN2

#define OP_CUMMINMAX_FCN2 (   F,
  OP 
)

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

◆ OP_CUMMINMAX_FCNN

#define OP_CUMMINMAX_FCNN (   F)

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

◆ OP_MINMAX_FCN

#define OP_MINMAX_FCN (   F,
  OP 
)

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

◆ OP_MINMAX_FCN2

#define OP_MINMAX_FCN2 (   F,
  OP 
)

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

◆ OP_MINMAX_FCNN

#define OP_MINMAX_FCNN (   F)

Definition at line 1075 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:612

Definition at line 737 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:605

Definition at line 728 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:761

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

◆ OP_RED_PROD

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

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

◆ OP_RED_SUM

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

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

◆ OP_RED_SUMSQ

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

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

◆ OP_RED_SUMSQC

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

Definition at line 685 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:824
octave_idx_type nact
Definition: mx-inlines.cc:824

◆ PROMOTE_DOUBLE

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

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

Function Documentation

◆ cabsq()

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

Definition at line 597 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 549 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 529 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 568 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 587 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 1563 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 1639 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 1623 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 1658 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 496 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 1600 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 1580 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 1539 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 482 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 470 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 539 of file mx-inlines.cc.

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

Referenced by max(), and min().

◆ for()

for ( ) = i

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

◆ 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 1508 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 176 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 169 of file mx-inlines.cc.

References x.

◆ logical_value() [3/3]

template<typename T >
bool logical_value ( x)
inline

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

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

◆ 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 108 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 108 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 127 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 860 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 219 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 219 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 219 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 228 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 236 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 223 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 223 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 223 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 286 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 299 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 854 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 931 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 901 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 877 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 1395 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 1336 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 1202 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 1395 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 1336 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 1394 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 1335 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 1201 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 1394 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 1335 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 930 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 900 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 929 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 899 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 1481 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 1440 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 111 of file mx-inlines.cc.

Referenced by quotient().

◆ 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 111 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 111 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 130 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 130 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 856 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 156 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 156 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 156 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 48 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 155 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 155 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 155 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 154 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 154 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 154 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 333 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 72 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 153 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 153 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 153 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 152 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 152 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 152 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 451 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 1131 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 1073 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 980 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 1131 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 1073 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 1130 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 1072 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 979 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 1130 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 1072 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 110 of file mx-inlines.cc.

Referenced by product().

◆ 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 110 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 110 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 129 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 129 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 157 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 157 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 157 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 190 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 221 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 221 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 221 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 222 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 222 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 222 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 81 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 220 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 220 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 220 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 244 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 252 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 224 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 224 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 224 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 419 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 429 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 439 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 325 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

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

Referenced by Sparse< T, Alloc >::delete_elements(), and operator-().

◆ 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 109 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 109 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 128 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 852 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 858 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 857 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 784 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 56 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 64 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 365 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 373 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 381 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 409 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 409 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 411 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 411 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 341 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 349 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 357 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 408 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 408 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 410 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 410 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 1708 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 1739 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 1720 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 761 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 695 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 702 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 688 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 715 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 722 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 708 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 1696 of file mx-inlines.cc.

References x.

◆ xis_false() [1/6]

bool xis_false ( const Complex x)
inline

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

References x.

◆ xis_false() [2/6]

bool xis_false ( const FloatComplex x)
inline

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

References x.

◆ xis_false() [4/6]

bool xis_false ( double  x)
inline

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

References x.

◆ xis_false() [5/6]

bool xis_false ( float  x)
inline

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

References x.

◆ xis_false() [6/6]

template<typename T >
bool xis_false ( x)
inline

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

References x.

◆ xis_true() [1/6]

bool xis_true ( const Complex x)
inline

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

References isnan(), and x.

◆ xis_true() [2/6]

bool xis_true ( const FloatComplex x)
inline

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

References x.

◆ xis_true() [4/6]

bool xis_true ( double  x)
inline

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

References isnan(), and x.

◆ xis_true() [5/6]

bool xis_true ( float  x)
inline

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

References isnan(), and x.

◆ xis_true() [6/6]

template<typename T >
bool xis_true ( x)
inline

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

References x.

Variable Documentation

◆ ac

return ac

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

Referenced by op_dble_prod(), and op_dble_sum().

◆ continue

else continue

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

◆ iact

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

◆ m

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

Referenced by Cell::Cell(), octave_class::exemplar_info::exemplar_info(), octave_map::octave_map(), octave_scalar_map::octave_scalar_map(), svd< T >::svd(), ov_range< T >::all(), ov_range< T >::any(), any_all_test(), cmdline_options::as_octave_value(), property_list::as_struct(), Sparse< T, Alloc >::assign(), gtk_manager::available_toolkits_list(), blkmm_internal(), octave_sparse_matrix::bool_array_value(), cam2xform(), opengl_renderer::change_marker(), check_access(), column_norms(), stdiostream::create(), zstdiostream::create(), 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_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(), do_blkmm(), color_property::do_set(), opengl_renderer::draw_patch(), opengl_renderer::draw_text_background(), symbol_scope_rep::dump(), symbol_table::dump(), octave_base_value::dump(), octave_user_code::dump(), octave_user_function::dump(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), ellipj(), F__fieldnames__(), base_properties::factory_defaults(), root_figure::properties::factory_defaults(), figure::properties::factory_defaults(), axes::properties::factory_defaults(), line::properties::factory_defaults(), text::properties::factory_defaults(), image::properties::factory_defaults(), light::properties::factory_defaults(), patch::properties::factory_defaults(), scatter::properties::factory_defaults(), surface::properties::factory_defaults(), hggroup::properties::factory_defaults(), uimenu::properties::factory_defaults(), uicontextmenu::properties::factory_defaults(), uicontrol::properties::factory_defaults(), uibuttongroup::properties::factory_defaults(), uipanel::properties::factory_defaults(), uitable::properties::factory_defaults(), uitoolbar::properties::factory_defaults(), uipushtool::properties::factory_defaults(), uitoggletool::properties::factory_defaults(), Fbitshift(), Fchol(), Fcholinv(), Fclass(), Fdbstatus(), Fdet(), Fdiag(), Fdot(), features(), Fellipj(), Ferror(), base_parser::finish_matrix(), Finv(), Fisfield(), octave::float_identity_matrix(), Flu(), Fmatrix_type(), Fordschur(), Fpinv(), Fqr(), Fquadcc(), Frandperm(), Frcond(), Fresize(), Frmfield(), FSIG(), Fsize(), Fspalloc(), Fsparse(), Fstruct2cell(), octave::Fterminal_size(), octave::Funame(), base_properties::get(), root_figure::properties::get(), figure::properties::get(), axes::properties::get(), line::properties::get(), text::properties::get(), image::properties::get(), light::properties::get(), patch::properties::get(), scatter::properties::get(), surface::properties::get(), hggroup::properties::get(), uimenu::properties::get(), uicontextmenu::properties::get(), uicontrol::properties::get(), uibuttongroup::properties::get(), uipanel::properties::get(), uitable::properties::get(), uitoolbar::properties::get(), uipushtool::properties::get(), uitoggletool::properties::get(), tree_evaluator::get_autoload_map(), base_properties::get_dynamic(), text::properties::get_extent(), uicontrol::properties::get_extent(), uitable::properties::get_extent(), profiler::get_flat(), profiler::get_hierarchical(), array_property::get_limits(), opengl_functions::glMultMatrixd(), higham(), identity_matrix(), octave::identity_matrix(), Sparse< T, Alloc >::index(), opengl_renderer::init_marker(), qr< T >::insert_col(), qr< T >::insert_row(), install_dld_function(), sparse_chol< chol_type >::inverse(), isvector(), 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(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), Array< T, Alloc >::map(), octave_bool_matrix::map(), octave_sparse_bool_matrix::map(), octave_bool::map(), octave_uint64_matrix::map(), map2Cell(), matrix_norm(), max(), mdm_div_impl(), mexGet(), mexGet_interleaved(), min(), mxSetM(), octave_print_internal(), operator*(), operator<<(), PermMatrix::power(), read_mat5_integer_data(), DiagArray2< T >::resize(), octave_user_function::restore_warning_states(), row_norms(), octave_class::save_ascii(), octave_struct::save_ascii(), octave_scalar_struct::save_ascii(), 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(), 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_mat_ascii_data(), save_mat_binary_data(), lin_scaler::scale(), log_scaler::scale(), neg_log_scaler::scale(), scaler::scale(), graphics_xform::scale(), scale(), graphics_object::set(), mxArray::set_m(), qr< T >::shift_cols(), Array< T, Alloc >::sort(), Sparse< T, Alloc >::sort(), svd_matrix_norm(), transform(), translate(), ov_range< T >::try_narrowing_conversion(), unit_cube(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), windows_glob(), xform(), xform_matrix(), xform_scale(), xform_translate(), graphics_xform::xscale(), graphics_xform::yscale(), and graphics_xform::zscale().

◆ n

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

Referenced by Cell::Cell(), charNDArray::charNDArray(), ComplexNDArray::ComplexNDArray(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), NDArray::NDArray(), octave_class::octave_class(), octave_fields::octave_fields(), octave_value_list::octave_value_list(), PermMatrix::PermMatrix(), Sparse< T, Alloc >::Sparse(), string_vector::string_vector(), svd< T >::svd(), tree_index_expression::tree_index_expression(), all_colon_equiv(), 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< octave_value * >::assign(), Array< T, Alloc >::assign(), Sparse< T, Alloc >::assign(), octave_base_matrix< MT >::assign(), idx_vector::assign(), lexical_feedback::token_cache::at(), call_stack::backtrace_frames(), aepbalance< MT >::balancing_matrix(), bitshift(), blkmm_internal(), idx_vector::bloop(), tree_evaluator::breaking(), mxArray::calloc(), Array< T, Alloc >::cat(), octave_map::cat(), Sparse< T, Alloc >::cat(), Cell::cellstr_value(), Array< T, Alloc >::checkelem(), Sparse< T, Alloc >::checkelem(), idx_vector::checkelem(), 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(), ov_range< T >::could_be_trivial_range(), stdiostream::create(), zstdiostream::create(), octave_iprocstream::create(), octave_oprocstream::create(), istream::create(), ostream::create(), tree_evaluator::dbupdown(), call_stack::dbupdown(), tree_evaluator::debug_frame(), qr< T >::delete_col(), Array< T, Alloc >::delete_elements(), qr< T >::delete_row(), chol< T >::delete_sym(), octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >::diag(), Cell::diag(), octave_base_matrix< MT >::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 >::dims(), dmdm_div_impl(), dmdm_leftdiv_impl(), dmm_leftdiv_impl(), do_bitpack(), do_bitunpack(), do_blkmm(), command_editor::do_decode_prompt_string(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), command_history::do_set_size(), octave::do_simple_cellfun(), chol< T >::downdate(), opengl_renderer::draw_line(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::elem(), octave_map::elem(), idx_vector::elem(), call_stack::element(), ellipj(), octave_fields::equal_up_to_order(), err_invalid_index(), tree_evaluator::evaluate_end_expression(), tree_multi_assignment::evaluate_n(), tree_index_expression::evaluate_n(), 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__eigs__(), F__fltk_uigetfile__(), octave::F__ftp_dir__(), octave::F__ftp_mget__(), F__get__(), F__lin_interpn__(), F__pollardrho__(), octave::F__version_info__(), 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(), Fchar(), Fchol(), Fcholdelete(), Fcholinsert(), Fcholshift(), Fcholupdate(), Fdblist(), Fdbstep(), Fdiag(), Fdot(), octave_fields::fieldnames(), idx_vector::fill(), Array< T, Alloc >::find(), find_nonzero_elem_idx(), Fisfield(), octave::Fisindex(), octave::float_identity_matrix(), rand::float_vector(), Flu(), Fnth_element(), Fordschur(), fortran_psifn< double >(), fortran_psifn< float >(), ComplexNDArray::fourier(), NDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), Fquadcc(), Frandperm(), freeze(), Freset(), Fset(), Fspalloc(), Fsparse(), Fsqrtm(), Fstrncmp(), Fstrncmpi(), Fstrvcat(), get_children_limits(), octave::get_dimensions(), get_elt_idx(), command_history::get_entry(), profiler::get_flat(), get_scalar_idx(), get_sort_mode(), file_stat::get_stats(), file_fstat::get_stats(), octave_fields::getfield(), opengl_functions::glDeleteTextures(), opengl_functions::glGenTextures(), glob(), call_stack::goto_frame(), tree_evaluator::goto_frame(), octave_value_list::has_magic_colon(), hdf5_types_compatible(), ichol_0(), ichol_t(), identity_matrix(), octave::identity_matrix(), MArray< T >::idx_add(), MArray< T >::idx_add_nd(), MArray< double >::idx_max(), MArray< T >::idx_max(), ComplexNDArray::ifourier(), NDArray::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(), Array< T, Alloc >::index(), Sparse< T, Alloc >::index(), Cell::index(), idx_vector::index(), index_in_bounds(), 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(), DASRT::integrate(), DASPK::integrate(), DASSL::integrate(), sparse_chol< chol_type >::inverse(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), idx_vector::inverse_permutation(), idx_vector::is_colon_equiv(), idx_vector::is_cont_range(), idx_vector::is_permutation(), is_scalar(), Cell::iscellstr(), isprimescalar(), Array< T, Alloc >::issorted(), isvector(), idx_vector::length(), lin_interpn(), linspace(), 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(), tree_index_expression::lvalue(), octave_value_list::make_argv(), dim_vector::make_nd_vector(), tree_evaluator::make_value_list(), mxArray::malloc(), glob_match::match(), string_vector::max_length(), tree_evaluator::max_recursion_depth(), idx_vector::maybe_reduce(), mdm_div_impl(), millerrabin(), 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(), mxMalloc(), mxSetN(), octave::sys::file_ops::native_separator_path(), dim_vector::numel(), octave__scan_bytes(), octave_strncasecmp(), octave_tex__scan_bytes(), octave_u8_check_wrapper(), octave_u8_mbsnlen_wrapper(), octave_u8_tolower_wrapper(), octave_u8_toupper_wrapper(), 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(), idx_vector::operator()(), operator*(), octave_fields::orderfields(), aepbalance< MT >::permuting_vector(), pollardrho(), octave_value_list::prepend(), ov_range< T >::print_name_tag(), psi(), rand_exponential(), rand_gamma(), rand_normal(), rand_poisson(), rand_uniform(), rand_uniform< double >(), Sparse< T, Alloc >::range_error(), rational_approx(), dim_vector::redim(), command_history::remove(), command_editor::reset_current_command_number(), Sparse< T, Alloc >::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(), tree_evaluator::returning(), octave_value_list::reverse(), octave_fields::rmfield(), octave_int_arith_base< T, false >::rshift(), octave_int_arith_base< T, true >::rshift(), octave_perm_matrix::save_ascii(), aepbalance< MT >::scaling_vector(), command_history::set_mark(), mxArray::set_n(), command_editor::set_name(), command_history::set_size(), gzfilebuf::setbuf(), qr< T >::shift_cols(), chol< T >::shift_sym(), Array< octave_value * >::sort(), command_history::stifle(), Cell::string_vector_value(), octave_char_matrix_str::string_vector_value(), sub2ind(), cdef_object_array::subsasgn(), octave_cell::subsasgn(), octave_struct::subsasgn(), octave_scalar_struct::subsasgn(), cdef_object_array::subsref(), swap_bytes(), octave::sys::file_ops::tilde_expand(), command_history::truncate_file(), chol< T >::update(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), rand::vector(), vector_equivalent(), tree_evaluator::visit_complex_for_command(), tree_print_code::visit_index_expression(), tree_walker::visit_index_expression(), ov_range< T >::vm_extract_forloop_value(), base_lexer::warn_language_extension_operator(), windows_glob(), Array< T, Alloc >::xelem(), Sparse< T, Alloc >::xelem(), idx_vector::xelem(), xpsi(), 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 824 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 824 of file mx-inlines.cc.

◆ r

bool * r

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

Referenced by color_values::color_values(), DiagArray2< T >::DiagArray2(), dim_vector::dim_vector(), octave_legacy_range::octave_legacy_range(), Sparse< T, Alloc >::Sparse(), Sparse< T, Alloc >::SparseRep::SparseRep(), text_element_color::text_element_color(), Array< T, Alloc >::assign(), idx_vector::assign(), idx_vector::bloop(), Sparse< T, Alloc >::SparseRep::celem(), DiagArray2< T >::checkelem(), chol2inv(), Array< T, Alloc >::clear(), ComplexDiagMatrix::column(), DiagMatrix::column(), FloatComplexDiagMatrix::column(), FloatDiagMatrix::column(), Array< T, Alloc >::column(), idx_vector::complement(), idx_vector::copy_data(), cross(), 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_rightdiv_sm_dm(), do_sm_binary_op(), 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__(), octave_base_diag< DMT, MT >::fast_elem_extract(), octave_perm_matrix::fast_elem_extract(), Fchol2inv(), idx_vector::fill(), Frandperm(), Frepelems(), 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, 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(), cdef_object_base::make_array(), octave_fields::make_unique(), octave_value::make_unique(), Array< T, Alloc >::make_unique(), Sparse< T, Alloc >::make_unique(), max(), idx_vector::maybe_reduce(), 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(), octave_i_multiply_overflow_wrapper(), octave_li_multiply_overflow_wrapper(), octave_lli_multiply_overflow_wrapper(), octave_print_internal(), octave_ui_multiply_overflow_wrapper(), octave_uli_multiply_overflow_wrapper(), octave_ulli_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!(), operator*(), ComplexDiagMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), DASRT_result::operator=(), Array< T, Alloc >::page(), plus_or_minus(), 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(), quotient(), rand_gamma(), idx_vector::raw(), read_mat_binary_data(), 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(), graphics_xform::scale(), Array< T, Alloc >::sort_rows_idx(), sparse_indices_ok(), cdef_object_array::subsref(), times_or_divide(), times_or_divides(), idx_vector::unmask(), lu< T >::update(), lu< T >::update_piv(), DiagArray2< T >::xelem(), xload_binary(), xload_hdf5(), xsave_ascii(), xsave_binary(), and xsave_hdf5().