GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros
op-int.h File Reference
#include "quit.h"
#include "bsxfun.h"
Include dependency graph for op-int.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFINTBINOP_FN(name, t1, t2, f, t3, op)
 
#define DEFINTBINOP_OP(name, t1, t2, op, t3)
 
#define DEFINTNDBINOP_FN(name, t1, t2, e1, e2, f, t3, op)
 
#define DEFINTNDBINOP_OP(name, t1, t2, e1, e2, op, t3)
 
#define OCTAVE_CHAR_INT_CONCAT_FN(TYPE)
 
#define OCTAVE_CONCAT_FN(TYPE)
 
#define OCTAVE_CONCAT_FN2(T1, T2)
 
#define OCTAVE_CX_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_DOUBLE_INT_CONCAT_FN(TYPE)
 
#define OCTAVE_FLOAT_INT_CONCAT_FN(TYPE)
 
#define OCTAVE_FLT_CX_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_FLT_RE_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_INSTALL_CHAR_INT_CONCAT_FN(TYPE)
 
#define OCTAVE_INSTALL_CONCAT_FN(TYPE)
 
#define OCTAVE_INSTALL_CONCAT_FN2(T1, T2)
 
#define OCTAVE_INSTALL_CX_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_INSTALL_DOUBLE_INT_CONCAT_FN(TYPE)
 
#define OCTAVE_INSTALL_FLOAT_INT_CONCAT_FN(TYPE)
 
#define OCTAVE_INSTALL_FLT_CX_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_INSTALL_FLT_RE_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_INSTALL_INT_CHAR_CONCAT_FN(TYPE)
 
#define OCTAVE_INSTALL_INT_DOUBLE_CONCAT_FN(TYPE)
 
#define OCTAVE_INSTALL_INT_FLOAT_CONCAT_FN(TYPE)
 
#define OCTAVE_INSTALL_INT_NULL_ASSIGN_OPS(TYPE)
 
#define OCTAVE_INSTALL_INT_OPS(TYPE)
 
#define OCTAVE_INSTALL_M_INT_UNOPS(TYPE)
 
#define OCTAVE_INSTALL_MIXED_INT_CMP_OPS(T1, T2)
 
#define OCTAVE_INSTALL_MM_INT_ARITH_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_MM_INT_ASSIGN_OPS(PFX, TLHS, TRHS)   INSTALL_ASSIGNOP (op_asn_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## matrix, PFX ## _assign)
 
#define OCTAVE_INSTALL_MM_INT_ASSIGNEQ_OPS(PFX, TLHS, TRHS)
 
#define OCTAVE_INSTALL_MM_INT_BOOL_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_MM_INT_CMP_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_MM_INT_OPS(TYPE)
 
#define OCTAVE_INSTALL_MS_INT_ARITH_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_MS_INT_ASSIGN_OPS(PFX, TLHS, TRHS)   INSTALL_ASSIGNOP (op_asn_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## scalar, PFX ## _assign)
 
#define OCTAVE_INSTALL_MS_INT_ASSIGNEQ_OPS(PFX, TLHS, TRHS)
 
#define OCTAVE_INSTALL_MS_INT_BOOL_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_MS_INT_CMP_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_MS_INT_OPS(TYPE)
 
#define OCTAVE_INSTALL_RE_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_INSTALL_S_INT_UNOPS(TYPE)
 
#define OCTAVE_INSTALL_SM_INT_ARITH_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_SM_INT_ASSIGNCONV(TLHS, TRHS)
 
#define OCTAVE_INSTALL_SM_INT_BOOL_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_SM_INT_CMP_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_SM_INT_OPS(TYPE)
 
#define OCTAVE_INSTALL_SS_INT_ARITH_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_SS_INT_BOOL_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_SS_INT_CMP_OPS(PFX, T1, T2)
 
#define OCTAVE_INSTALL_SS_INT_OPS(TYPE)
 
#define OCTAVE_INT_CHAR_CONCAT_FN(TYPE)
 
#define OCTAVE_INT_DOUBLE_CONCAT_FN(TYPE)
 
#define OCTAVE_INT_FLOAT_CONCAT_FN(TYPE)
 
#define OCTAVE_INT_NULL_ASSIGN_OPS(TYPE)   DEFNULLASSIGNOP_FN (TYPE ## null_assign, TYPE ## _matrix, delete_elements)
 
#define OCTAVE_INT_OPS(TYPE)
 
#define OCTAVE_M_INT_UNOPS(TYPE)
 
#define OCTAVE_MIXED_INT_CMP_OPS(T1, T2)
 
#define OCTAVE_MM_CONV(T1, T2)
 
#define OCTAVE_MM_INT_ARITH_OPS(PFX, T1, T2, T3)
 
#define OCTAVE_MM_INT_ASSIGN_OPS(PFX, TLHS, TRHS, TE)   DEFNDASSIGNOP_FN (PFX ## _assign, TLHS ## matrix, TRHS ## matrix, TLHS ## array, assign)
 
#define OCTAVE_MM_INT_ASSIGNEQ_OPS(PFX, TM)
 
#define OCTAVE_MM_INT_BOOL_OPS(PFX, T1, T2)
 
#define OCTAVE_MM_INT_CMP_OPS(PFX, T1, T2)
 
#define OCTAVE_MM_INT_OPS(TYPE)
 
#define OCTAVE_MM_POW_OPS(T1, T2)
 
#define OCTAVE_MS_INT_ARITH_OPS(PFX, TM, TS, TI)
 
#define OCTAVE_MS_INT_ASSIGN_OPS(PFX, TM, TS, TE)   DEFNDASSIGNOP_FN (PFX ## _assign, TM ## matrix, TS ## scalar, TM ## scalar, assign)
 
#define OCTAVE_MS_INT_ASSIGNEQ_OPS(PFX, TM)
 
#define OCTAVE_MS_INT_BOOL_OPS(PFX, TM, TS)
 
#define OCTAVE_MS_INT_CMP_OPS(PFX, TM, TS)
 
#define OCTAVE_MS_INT_OPS(TYPE)
 
#define OCTAVE_MS_POW_OPS(T1, T2)
 
#define OCTAVE_RE_INT_ASSIGN_OPS(TYPE)
 
#define OCTAVE_S_INT_UNOPS(TYPE)
 
#define OCTAVE_SM_CONV(TS, TM)
 
#define OCTAVE_SM_INT_ARITH_OPS(PFX, TS, TM, TI)
 
#define OCTAVE_SM_INT_BOOL_OPS(PFX, TS, TM)
 
#define OCTAVE_SM_INT_CMP_OPS(PFX, TS, TM)
 
#define OCTAVE_SM_INT_OPS(TYPE)
 
#define OCTAVE_SM_POW_OPS(T1, T2)
 
#define OCTAVE_SS_INT_ARITH_OPS(PFX, T1, T2, T3)
 
#define OCTAVE_SS_INT_BOOL_OPS(PFX, T1, T2, Z1, Z2)
 
#define OCTAVE_SS_INT_CMP_OPS(PFX, T1, T2)
 
#define OCTAVE_SS_INT_OPS(TYPE)
 
#define OCTAVE_SS_POW_OPS(T1, T2)
 

Macro Definition Documentation

#define DEFINTBINOP_FN (   name,
  t1,
  t2,
  f,
  t3,
  op 
)
Value:
BINOPDECL (name, a1, a2) \
{ \
CAST_BINOP_ARGS (const octave_ ## t1&, const octave_ ## t2&); \
octave_value retval = octave_value (f (v1.t1 ## _value (), v2.t2 ## _value ())); \
return retval; \
}
#define BINOPDECL(name, a1, a2)
Definition: ops.h:272
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
#define CAST_BINOP_ARGS(t1, t2)
Definition: ops.h:79
const octave_base_value & a2
F77_RET_T const double const double * f
const octave_char_matrix & v2
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))

Definition at line 44 of file op-int.h.

#define DEFINTBINOP_OP (   name,
  t1,
  t2,
  op,
  t3 
)
Value:
BINOPDECL (name, a1, a2) \
{ \
CAST_BINOP_ARGS (const octave_ ## t1&, const octave_ ## t2&); \
(v1.t1 ## _value () op v2.t2 ## _value ()); \
return retval; \
}
#define BINOPDECL(name, a1, a2)
Definition: ops.h:272
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
#define CAST_BINOP_ARGS(t1, t2)
Definition: ops.h:79
const octave_base_value & a2
const octave_char_matrix & v2
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))

Definition at line 26 of file op-int.h.

#define DEFINTNDBINOP_FN (   name,
  t1,
  t2,
  e1,
  e2,
  f,
  t3,
  op 
)
Value:
BINOPDECL (name, a1, a2) \
{ \
CAST_BINOP_ARGS (const octave_ ## t1&, const octave_ ## t2&); \
octave_value retval = octave_value (f (v1.e1 ## _value (), v2.e2 ## _value ())); \
return retval; \
}
#define BINOPDECL(name, a1, a2)
Definition: ops.h:272
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
#define CAST_BINOP_ARGS(t1, t2)
Definition: ops.h:79
const octave_base_value & a2
F77_RET_T const double const double * f
const octave_char_matrix & v2
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))

Definition at line 52 of file op-int.h.

#define DEFINTNDBINOP_OP (   name,
  t1,
  t2,
  e1,
  e2,
  op,
  t3 
)
Value:
BINOPDECL (name, a1, a2) \
{ \
CAST_BINOP_ARGS (const octave_ ## t1&, const octave_ ## t2&); \
(v1.e1 ## _value () op v2.e2 ## _value ()); \
return retval; \
}
#define BINOPDECL(name, a1, a2)
Definition: ops.h:272
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
#define CAST_BINOP_ARGS(t1, t2)
Definition: ops.h:79
const octave_base_value & a2
const octave_char_matrix & v2
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))

Definition at line 35 of file op-int.h.

#define OCTAVE_CHAR_INT_CONCAT_FN (   TYPE)
Value:
DEFNDCHARCATOP_FN (char ## _ ## TYPE ## _m_s, char_matrix, TYPE ## _scalar, concat) \
DEFNDCHARCATOP_FN (char ## _ ## TYPE ## _m_m, char_matrix, TYPE ## _matrix, concat)
#define DEFNDCHARCATOP_FN(name, t1, t2, f)
Definition: ops.h:371
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664

Definition at line 123 of file op-int.h.

#define OCTAVE_CONCAT_FN (   TYPE)
Value:
DEFNDCATOP_FN (TYPE ## _s_s, TYPE ## _scalar, TYPE ## _scalar, TYPE ## _array, TYPE ## _array, concat) \
DEFNDCATOP_FN (TYPE ## _s_m, TYPE ## _scalar, TYPE ## _matrix, TYPE ## _array, TYPE ## _array, concat) \
DEFNDCATOP_FN (TYPE ## _m_s, TYPE ## _matrix, TYPE ## _scalar, TYPE ## _array, TYPE ## _array, concat) \
DEFNDCATOP_FN (TYPE ## _m_m, TYPE ## _matrix, TYPE ## _matrix, TYPE ## _array, TYPE ## _array, concat)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664
#define DEFNDCATOP_FN(name, t1, t2, e1, e2, f)
Definition: ops.h:364

Definition at line 143 of file op-int.h.

#define OCTAVE_CONCAT_FN2 (   T1,
  T2 
)
Value:
DEFNDCATOP_FN2 (T1 ## _ ## T2 ## _s_s, T1 ## _scalar, T2 ## _scalar, , T1 ## NDArray, T1 ## _array, T2 ## _array, concat) \
DEFNDCATOP_FN2 (T1 ## _ ## T2 ## _s_m, T1 ## _scalar, T2 ## _matrix, , T1 ## NDArray, T1 ## _array, T2 ## _array, concat) \
DEFNDCATOP_FN2 (T1 ## _ ## T2 ## _m_s, T1 ## _matrix, T2 ## _scalar, , T1 ## NDArray, T1 ## _array, T2 ## _array, concat) \
DEFNDCATOP_FN2 (T1 ## _ ## T2 ## _m_m, T1 ## _matrix, T2 ## _matrix, , T1 ## NDArray, T1 ## _array, T2 ## _array, concat)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664
#define DEFNDCATOP_FN2(name, t1, t2, tc1, tc2, e1, e2, f)
Definition: ops.h:384

Definition at line 60 of file op-int.h.

#define OCTAVE_CX_INT_ASSIGN_OPS (   TYPE)
Value:
DEFNDASSIGNOP_FN (TYPE ## cms_assign, complex_matrix, TYPE ## _scalar, complex_array, assign) \
DEFNDASSIGNOP_FN (TYPE ## cmm_assign, complex_matrix, TYPE ## _matrix, complex_array, assign)
#define DEFNDASSIGNOP_FN(name, t1, t2, e, f)
Definition: ops.h:125

Definition at line 872 of file op-int.h.

#define OCTAVE_DOUBLE_INT_CONCAT_FN (   TYPE)
Value:
DEFNDCATOP_FN2 (double ## _ ## TYPE ## _s_s, scalar, TYPE ## _scalar, TYPE ## NDArray, , array, TYPE ## _array, concat) \
DEFNDCATOP_FN2 (double ## _ ## TYPE ## _s_m, scalar, TYPE ## _matrix, TYPE ## NDArray, , array, TYPE ## _array, concat) \
DEFNDCATOP_FN2 (double ## _ ## TYPE ## _m_s, matrix, TYPE ## _scalar, TYPE ## NDArray, , array, TYPE ## _array, concat) \
DEFNDCATOP_FN2 (double ## _ ## TYPE ## _m_m, matrix, TYPE ## _matrix, TYPE ## NDArray, , array, TYPE ## _array, concat)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664
#define DEFNDCATOP_FN2(name, t1, t2, tc1, tc2, e1, e2, f)
Definition: ops.h:384
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 72 of file op-int.h.

#define OCTAVE_FLOAT_INT_CONCAT_FN (   TYPE)
Value:
DEFNDCATOP_FN2 (float ## _ ## TYPE ## _s_s, float_scalar, TYPE ## _scalar, TYPE ## NDArray, , float_array, TYPE ## _array, concat) \
DEFNDCATOP_FN2 (float ## _ ## TYPE ## _s_m, float_scalar, TYPE ## _matrix, TYPE ## NDArray, , float_array, TYPE ## _array, concat) \
DEFNDCATOP_FN2 (float ## _ ## TYPE ## _m_s, float_matrix, TYPE ## _scalar, TYPE ## NDArray, , float_array, TYPE ## _array, concat) \
DEFNDCATOP_FN2 (float ## _ ## TYPE ## _m_m, float_matrix, TYPE ## _matrix, TYPE ## NDArray, , float_array, TYPE ## _array, concat)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664
#define DEFNDCATOP_FN2(name, t1, t2, tc1, tc2, e1, e2, f)
Definition: ops.h:384

Definition at line 96 of file op-int.h.

#define OCTAVE_FLT_CX_INT_ASSIGN_OPS (   TYPE)
Value:
DEFNDASSIGNOP_FN (TYPE ## fcms_assign, float_complex_matrix, TYPE ## _scalar, float_complex_array, assign) \
DEFNDASSIGNOP_FN (TYPE ## fcmm_assign, float_complex_matrix, TYPE ## _matrix, float_complex_array, assign)
#define DEFNDASSIGNOP_FN(name, t1, t2, e, f)
Definition: ops.h:125

Definition at line 876 of file op-int.h.

#define OCTAVE_FLT_RE_INT_ASSIGN_OPS (   TYPE)
Value:
DEFNDASSIGNOP_FN (TYPE ## fms_assign, float_matrix, TYPE ## _scalar, float_array, assign) \
DEFNDASSIGNOP_FN (TYPE ## fmm_assign, float_matrix, TYPE ## _matrix, float_array, assign)
#define DEFNDASSIGNOP_FN(name, t1, t2, e, f)
Definition: ops.h:125

Definition at line 868 of file op-int.h.

#define OCTAVE_INSTALL_CHAR_INT_CONCAT_FN (   TYPE)
Value:
INSTALL_CATOP (octave_char_matrix_str, octave_ ## TYPE ## _scalar, char ## _ ## TYPE ## _m_s) \
INSTALL_CATOP (octave_char_matrix_str, octave_ ## TYPE ## _matrix, char ## _ ## TYPE ## _m_m) \
INSTALL_CATOP (octave_char_matrix_sq_str, octave_ ## TYPE ## _scalar, char ## _ ## TYPE ## _m_s) \
INSTALL_CATOP (octave_char_matrix_sq_str, octave_ ## TYPE ## _matrix, char ## _ ## TYPE ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 127 of file op-int.h.

Referenced by DEFNDCHARCATOP_FN().

#define OCTAVE_INSTALL_CONCAT_FN (   TYPE)
Value:
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_ ## TYPE ## _scalar, TYPE ## _s_s) \
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_ ## TYPE ## _matrix, TYPE ## _s_m) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_ ## TYPE ## _scalar, TYPE ## _m_s) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_ ## TYPE ## _matrix, TYPE ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 149 of file op-int.h.

#define OCTAVE_INSTALL_CONCAT_FN2 (   T1,
  T2 
)
Value:
INSTALL_CATOP (octave_ ## T1 ## _scalar, octave_ ## T2 ## _scalar, T1 ## _ ## T2 ## _s_s) \
INSTALL_CATOP (octave_ ## T1 ## _scalar, octave_ ## T2 ## _matrix, T1 ## _ ## T2 ## _s_m) \
INSTALL_CATOP (octave_ ## T1 ## _matrix, octave_ ## T2 ## _scalar, T1 ## _ ## T2 ## _m_s) \
INSTALL_CATOP (octave_ ## T1 ## _matrix, octave_ ## T2 ## _matrix, T1 ## _ ## T2 ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 66 of file op-int.h.

Referenced by DEFNDCHARCATOP_FN().

#define OCTAVE_INSTALL_CX_INT_ASSIGN_OPS (   TYPE)
Value:
INSTALL_ASSIGNOP (op_asn_eq, octave_complex_matrix, octave_ ## TYPE ## _scalar, TYPE ## cms_assign) \
INSTALL_ASSIGNOP (op_asn_eq, octave_complex_matrix, octave_ ## TYPE ## _matrix, TYPE ## cmm_assign) \
#define INSTALL_ASSIGNOP(op, t1, t2, f)
Definition: ops.h:55
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 1148 of file op-int.h.

#define OCTAVE_INSTALL_DOUBLE_INT_CONCAT_FN (   TYPE)
Value:
INSTALL_CATOP (octave_scalar, octave_ ## TYPE ## _scalar, double ## _ ## TYPE ## _s_s) \
INSTALL_CATOP (octave_scalar, octave_ ## TYPE ## _matrix, double ## _ ## TYPE ## _s_m) \
INSTALL_CATOP (octave_matrix, octave_ ## TYPE ## _scalar, double ## _ ## TYPE ## _m_s) \
INSTALL_CATOP (octave_matrix, octave_ ## TYPE ## _matrix, double ## _ ## TYPE ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 78 of file op-int.h.

Referenced by DEFNDCHARCATOP_FN().

#define OCTAVE_INSTALL_FLOAT_INT_CONCAT_FN (   TYPE)
Value:
INSTALL_CATOP (octave_float_scalar, octave_ ## TYPE ## _scalar, float ## _ ## TYPE ## _s_s) \
INSTALL_CATOP (octave_float_scalar, octave_ ## TYPE ## _matrix, float ## _ ## TYPE ## _s_m) \
INSTALL_CATOP (octave_float_matrix, octave_ ## TYPE ## _scalar, float ## _ ## TYPE ## _m_s) \
INSTALL_CATOP (octave_float_matrix, octave_ ## TYPE ## _matrix, float ## _ ## TYPE ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 102 of file op-int.h.

Referenced by DEFNDCHARCATOP_FN().

#define OCTAVE_INSTALL_FLT_CX_INT_ASSIGN_OPS (   TYPE)
Value:
INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, octave_ ## TYPE ## _scalar, TYPE ## fcms_assign) \
INSTALL_ASSIGNOP (op_asn_eq, octave_float_complex_matrix, octave_ ## TYPE ## _matrix, TYPE ## fcmm_assign) \
#define INSTALL_ASSIGNOP(op, t1, t2, f)
Definition: ops.h:55
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 1154 of file op-int.h.

#define OCTAVE_INSTALL_FLT_RE_INT_ASSIGN_OPS (   TYPE)
Value:
INSTALL_ASSIGNOP (op_asn_eq, octave_float_matrix, octave_ ## TYPE ## _scalar, TYPE ## fms_assign) \
INSTALL_ASSIGNOP (op_asn_eq, octave_float_matrix, octave_ ## TYPE ## _matrix, TYPE ## fmm_assign) \
#define INSTALL_ASSIGNOP(op, t1, t2, f)
Definition: ops.h:55
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 1142 of file op-int.h.

#define OCTAVE_INSTALL_INT_CHAR_CONCAT_FN (   TYPE)
Value:
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_char_matrix_str, TYPE ## _ ## char ## _s_m) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_char_matrix_str, TYPE ## _ ## char ## _m_m) \
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_char_matrix_sq_str, TYPE ## _ ## char ## _s_m) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_char_matrix_sq_str, TYPE ## _ ## char ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 137 of file op-int.h.

Referenced by DEFNDCHARCATOP_FN().

#define OCTAVE_INSTALL_INT_DOUBLE_CONCAT_FN (   TYPE)
Value:
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_scalar, TYPE ## _ ## double ## _s_s) \
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_matrix, TYPE ## _ ## double ## _s_m) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_scalar, TYPE ## _ ## double ## _m_s) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_matrix, TYPE ## _ ## double ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 90 of file op-int.h.

Referenced by DEFNDCHARCATOP_FN().

#define OCTAVE_INSTALL_INT_FLOAT_CONCAT_FN (   TYPE)
Value:
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_float_scalar, TYPE ## _ ## float ## _s_s) \
INSTALL_CATOP (octave_ ## TYPE ## _scalar, octave_float_matrix, TYPE ## _ ## float ## _s_m) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_float_scalar, TYPE ## _ ## float ## _m_s) \
INSTALL_CATOP (octave_ ## TYPE ## _matrix, octave_float_matrix, TYPE ## _ ## float ## _m_m)
#define INSTALL_CATOP(t1, t2, f)
Definition: ops.h:51

Definition at line 114 of file op-int.h.

Referenced by DEFNDCHARCATOP_FN().

#define OCTAVE_INSTALL_INT_NULL_ASSIGN_OPS (   TYPE)
Value:
INSTALL_ASSIGNOP (op_asn_eq, octave_ ## TYPE ## _matrix, octave_null_matrix, TYPE ## null_assign) \
INSTALL_ASSIGNOP (op_asn_eq, octave_ ## TYPE ## _matrix, octave_null_str, TYPE ## null_assign) \
INSTALL_ASSIGNOP (op_asn_eq, octave_ ## TYPE ## _matrix, octave_null_sq_str, TYPE ## null_assign) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_null_matrix, octave_ ## TYPE ## _matrix) \
INSTALL_ASSIGNCONV (octave_## TYPE ## _scalar, octave_null_str, octave_ ## TYPE ## _matrix) \
INSTALL_ASSIGNCONV (octave_## TYPE ## _scalar, octave_null_sq_str, octave_ ## TYPE ## _matrix)
#define INSTALL_ASSIGNOP(op, t1, t2, f)
Definition: ops.h:55
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 1160 of file op-int.h.

#define OCTAVE_INSTALL_INT_OPS (   TYPE)
Value:
#define OCTAVE_INSTALL_CX_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:1148
#define OCTAVE_INSTALL_SM_INT_OPS(TYPE)
Definition: op-int.h:978
#define OCTAVE_INSTALL_MS_INT_OPS(TYPE)
Definition: op-int.h:1039
#define OCTAVE_INSTALL_MM_INT_OPS(TYPE)
Definition: op-int.h:1110
#define OCTAVE_INSTALL_FLT_CX_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:1154
#define OCTAVE_INSTALL_SS_INT_OPS(TYPE)
Definition: op-int.h:929
#define OCTAVE_INSTALL_FLT_RE_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:1142
#define OCTAVE_INSTALL_INT_NULL_ASSIGN_OPS(TYPE)
Definition: op-int.h:1160
#define OCTAVE_INSTALL_CONCAT_FN(TYPE)
Definition: op-int.h:149
#define OCTAVE_INSTALL_RE_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:1136

Definition at line 1168 of file op-int.h.

Referenced by install_i16_i16_ops(), install_i32_i32_ops(), install_i64_i64_ops(), install_i8_i8_ops(), install_ui16_ui16_ops(), install_ui32_ui32_ops(), install_ui64_ui64_ops(), and install_ui8_ui8_ops().

#define OCTAVE_INSTALL_M_INT_UNOPS (   TYPE)
Value:
INSTALL_UNOP (op_not, octave_ ## TYPE ## _matrix, m_not); \
INSTALL_UNOP (op_uplus, octave_ ## TYPE ## _matrix, m_uplus); \
INSTALL_UNOP (op_uminus, octave_ ## TYPE ## _matrix, m_uminus); \
INSTALL_UNOP (op_transpose, octave_ ## TYPE ## _matrix, m_transpose); \
INSTALL_UNOP (op_hermitian, octave_ ## TYPE ## _matrix, m_transpose); \
INSTALL_NCUNOP (op_incr, octave_ ## TYPE ## _matrix, m_incr); \
INSTALL_NCUNOP (op_decr, octave_ ## TYPE ## _matrix, m_decr); \
INSTALL_NCUNOP (op_uminus, octave_ ## TYPE ## _matrix, m_changesign);
octave_value op_uplus(const octave_value &a)
Definition: ov.h:1294
#define INSTALL_NCUNOP(op, t, f)
Definition: ops.h:42
octave_value op_not(const octave_value &a)
Definition: ov.h:1293
octave_value op_transpose(const octave_value &a)
Definition: ov.h:1297
#define INSTALL_UNOP(op, t, f)
Definition: ops.h:38
octave_value op_hermitian(const octave_value &a)
Definition: ov.h:1298
octave_value op_uminus(const octave_value &a)
Definition: ov.h:1295

Definition at line 1062 of file op-int.h.

#define OCTAVE_INSTALL_MIXED_INT_CMP_OPS (   T1,
  T2 
)
Value:
OCTAVE_INSTALL_SS_INT_CMP_OPS (T1 ## _ ## T2 ## _ss, T1 ## _, T2 ## _) \
OCTAVE_INSTALL_SM_INT_CMP_OPS (T1 ## _ ## T2 ## _sm, T1 ## _, T2 ## _) \
OCTAVE_INSTALL_MS_INT_CMP_OPS (T1 ## _ ## T2 ## _ms, T1 ## _, T2 ## _) \
OCTAVE_INSTALL_MM_INT_CMP_OPS (T1 ## _ ## T2 ## _mm, T1 ## _, T2 ## _)
#define OCTAVE_INSTALL_MM_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:1085
#define OCTAVE_INSTALL_MS_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:1016
#define OCTAVE_INSTALL_SS_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:917
#define OCTAVE_INSTALL_SM_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:964

Definition at line 1190 of file op-int.h.

Referenced by install_i16_i16_ops(), install_i32_i32_ops(), install_i64_i64_ops(), install_i8_i8_ops(), install_ui16_ui16_ops(), install_ui32_ui32_ops(), install_ui64_ui64_ops(), and install_ui8_ui8_ops().

#define OCTAVE_INSTALL_MM_INT_ARITH_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_add, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _add); \
INSTALL_BINOP (op_sub, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _sub); \
/* INSTALL_BINOP (op_mul, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _mul); */ \
/* INSTALL_BINOP (op_div, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _div); */ \
INSTALL_BINOP (op_pow, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _pow); \
/* INSTALL_BINOP (op_ldiv, octave_ ## T1 ## _matrix, octave_ ## T2 ## _matrix, mm_ldiv); */ \
INSTALL_BINOP (op_el_mul, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_mul); \
INSTALL_BINOP (op_el_div, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_div); \
INSTALL_BINOP (op_el_pow, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_pow); \
INSTALL_BINOP (op_el_ldiv, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_ldiv);
octave_value op_el_pow(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1342
octave_value op_el_ldiv(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1343
octave_value op_pow(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1328
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_div(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1341
octave_value op_add(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1323
octave_value op_sub(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1324
octave_value op_el_mul(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1340

Definition at line 1073 of file op-int.h.

#define OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (   PFX,
  TLHS,
  TRHS 
)    INSTALL_ASSIGNOP (op_asn_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## matrix, PFX ## _assign)
#define OCTAVE_INSTALL_MM_INT_ASSIGNEQ_OPS (   PFX,
  TLHS,
  TRHS 
)
Value:
INSTALL_ASSIGNOP (op_add_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## matrix, PFX ## _assign_add) \
INSTALL_ASSIGNOP (op_sub_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## matrix, PFX ## _assign_sub) \
INSTALL_ASSIGNOP (op_el_mul_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## matrix, PFX ## _assign_el_mul) \
INSTALL_ASSIGNOP (op_el_div_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## matrix, PFX ## _assign_el_div)
#define INSTALL_ASSIGNOP(op, t1, t2, f)
Definition: ops.h:55

Definition at line 1104 of file op-int.h.

#define OCTAVE_INSTALL_MM_INT_BOOL_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_el_and, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_and); \
INSTALL_BINOP (op_el_or, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_or); \
INSTALL_BINOP (op_el_not_and, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_not_and); \
INSTALL_BINOP (op_el_not_or, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_not_or); \
INSTALL_BINOP (op_el_and_not, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_and_not); \
INSTALL_BINOP (op_el_or_not, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _el_or_not);
octave_value op_el_or(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1345
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_and(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1344

Definition at line 1093 of file op-int.h.

#define OCTAVE_INSTALL_MM_INT_CMP_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_lt, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _lt); \
INSTALL_BINOP (op_le, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _le); \
INSTALL_BINOP (op_eq, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _eq); \
INSTALL_BINOP (op_ge, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _ge); \
INSTALL_BINOP (op_gt, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _gt); \
INSTALL_BINOP (op_ne, octave_ ## T1 ## matrix, octave_ ## T2 ## matrix, PFX ## _ne);
octave_value op_eq(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1335
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_le(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1334
octave_value op_lt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1333
octave_value op_ne(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1338
octave_value op_ge(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1336
octave_value op_gt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1337

Definition at line 1085 of file op-int.h.

#define OCTAVE_INSTALL_MM_INT_OPS (   TYPE)
Value:
OCTAVE_INSTALL_MM_INT_ARITH_OPS (mm, TYPE ##_, TYPE ## _) \
OCTAVE_INSTALL_MM_INT_ARITH_OPS (mmfx, TYPE ##_, float_) \
OCTAVE_INSTALL_MM_INT_ARITH_OPS (mfxm, float_, TYPE ##_) \
OCTAVE_INSTALL_MM_INT_CMP_OPS (mm, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MM_INT_CMP_OPS (mmfx, TYPE ## _, float_) \
OCTAVE_INSTALL_MM_INT_CMP_OPS (mfxm, float_, TYPE ## _) \
OCTAVE_INSTALL_MM_INT_BOOL_OPS (mm, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MM_INT_BOOL_OPS (mmfx, TYPE ## _, float_) \
OCTAVE_INSTALL_MM_INT_BOOL_OPS (mfxm, float_, TYPE ## _) \
OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mm, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MM_INT_ASSIGNEQ_OPS (mme, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmfx, TYPE ## _, float_) \
INSTALL_WIDENOP (octave_ ## TYPE ## _matrix, octave_complex_matrix, TYPE ## _m_complex_m_conv) \
INSTALL_WIDENOP (octave_ ## TYPE ## _matrix, octave_float_complex_matrix, TYPE ## _m_float_complex_m_conv) \
#define OCTAVE_INSTALL_MM_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:1085
#define OCTAVE_INSTALL_MM_INT_ASSIGN_OPS(PFX, TLHS, TRHS)
Definition: op-int.h:1101
#define INSTALL_WIDENOP(t1, t2, f)
Definition: ops.h:72
#define OCTAVE_INSTALL_M_INT_UNOPS(TYPE)
Definition: op-int.h:1062
#define OCTAVE_INSTALL_MM_INT_ASSIGNEQ_OPS(PFX, TLHS, TRHS)
Definition: op-int.h:1104
#define OCTAVE_INSTALL_MM_INT_BOOL_OPS(PFX, T1, T2)
Definition: op-int.h:1093
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64
#define OCTAVE_INSTALL_MM_INT_ARITH_OPS(PFX, T1, T2)
Definition: op-int.h:1073

Definition at line 1110 of file op-int.h.

#define OCTAVE_INSTALL_MS_INT_ARITH_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_add, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _add); \
INSTALL_BINOP (op_sub, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _sub); \
INSTALL_BINOP (op_mul, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _mul); \
INSTALL_BINOP (op_div, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _div); \
/* INSTALL_BINOP (op_pow, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _pow); */ \
/* INSTALL_BINOP (op_ldiv, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _ldiv); */ \
INSTALL_BINOP (op_el_mul, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_mul); \
INSTALL_BINOP (op_el_div, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_div); \
INSTALL_BINOP (op_el_pow, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_pow); \
INSTALL_BINOP (op_el_ldiv, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_ldiv);
octave_value op_el_pow(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1342
octave_value op_el_ldiv(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1343
octave_value op_div(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1326
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_div(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1341
octave_value op_add(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1323
octave_value op_sub(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1324
octave_value op_el_mul(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1340
octave_value op_mul(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1325
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 1003 of file op-int.h.

#define OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (   PFX,
  TLHS,
  TRHS 
)    INSTALL_ASSIGNOP (op_asn_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## scalar, PFX ## _assign)
#define OCTAVE_INSTALL_MS_INT_ASSIGNEQ_OPS (   PFX,
  TLHS,
  TRHS 
)
Value:
INSTALL_ASSIGNOP (op_add_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## scalar, PFX ## _assign_add) \
INSTALL_ASSIGNOP (op_sub_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## scalar, PFX ## _assign_sub) \
INSTALL_ASSIGNOP (op_mul_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## scalar, PFX ## _assign_mul) \
INSTALL_ASSIGNOP (op_div_eq, octave_ ## TLHS ## matrix, octave_ ## TRHS ## scalar, PFX ## _assign_div)
#define INSTALL_ASSIGNOP(op, t1, t2, f)
Definition: ops.h:55
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 1033 of file op-int.h.

#define OCTAVE_INSTALL_MS_INT_BOOL_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_el_and, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_and); \
INSTALL_BINOP (op_el_or, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_or); \
INSTALL_BINOP (op_el_not_and, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_not_and); \
INSTALL_BINOP (op_el_not_or, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _el_not_or);
octave_value op_el_or(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1345
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_and(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1344
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 1024 of file op-int.h.

#define OCTAVE_INSTALL_MS_INT_CMP_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_lt, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _lt); \
INSTALL_BINOP (op_le, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _le); \
INSTALL_BINOP (op_eq, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _eq); \
INSTALL_BINOP (op_ge, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _ge); \
INSTALL_BINOP (op_gt, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _gt); \
INSTALL_BINOP (op_ne, octave_ ## T1 ## matrix, octave_ ## T2 ## scalar, PFX ## _ne);
octave_value op_eq(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1335
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_le(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1334
octave_value op_lt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1333
octave_value op_ne(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1338
octave_value op_ge(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1336
octave_value op_gt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1337
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 1016 of file op-int.h.

#define OCTAVE_INSTALL_MS_INT_OPS (   TYPE)
Value:
OCTAVE_INSTALL_MS_INT_ARITH_OPS (ms, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_ARITH_OPS (msfx, TYPE ## _, float_) \
OCTAVE_INSTALL_MS_INT_ARITH_OPS (mfxs, float_, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_CMP_OPS (ms, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_CMP_OPS (mfx, TYPE ## _, float_) \
OCTAVE_INSTALL_MS_INT_CMP_OPS (mfxs, float_, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_BOOL_OPS (ms, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_BOOL_OPS (mfx, TYPE ## _, float_) \
OCTAVE_INSTALL_MS_INT_BOOL_OPS (mfxs, float_, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (ms, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_ASSIGNEQ_OPS (mse, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mfx, TYPE ## _, float_) \
#define OCTAVE_INSTALL_MS_INT_ASSIGNEQ_OPS(PFX, TLHS, TRHS)
Definition: op-int.h:1033
#define OCTAVE_INSTALL_MS_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:1016
#define OCTAVE_INSTALL_MS_INT_ARITH_OPS(PFX, T1, T2)
Definition: op-int.h:1003
#define OCTAVE_INSTALL_MS_INT_BOOL_OPS(PFX, T1, T2)
Definition: op-int.h:1024
#define OCTAVE_INSTALL_MS_INT_ASSIGN_OPS(PFX, TLHS, TRHS)
Definition: op-int.h:1030
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 1039 of file op-int.h.

#define OCTAVE_INSTALL_RE_INT_ASSIGN_OPS (   TYPE)
Value:
INSTALL_ASSIGNOP (op_asn_eq, octave_matrix, octave_ ## TYPE ## _scalar, TYPE ## ms_assign) \
INSTALL_ASSIGNOP (op_asn_eq, octave_matrix, octave_ ## TYPE ## _matrix, TYPE ## mm_assign) \
INSTALL_ASSIGNCONV (octave_scalar, octave_ ## TYPE ## _scalar, octave_matrix) \
INSTALL_ASSIGNCONV (octave_matrix, octave_ ## TYPE ## _matrix, octave_matrix)
#define INSTALL_ASSIGNOP(op, t1, t2, f)
Definition: ops.h:55
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 1136 of file op-int.h.

#define OCTAVE_INSTALL_S_INT_UNOPS (   TYPE)
Value:
INSTALL_UNOP (op_not, octave_ ## TYPE ## _scalar, s_not); \
INSTALL_UNOP (op_uplus, octave_ ## TYPE ## _scalar, s_uplus); \
INSTALL_UNOP (op_uminus, octave_ ## TYPE ## _scalar, s_uminus); \
INSTALL_UNOP (op_transpose, octave_ ## TYPE ## _scalar, s_transpose); \
INSTALL_UNOP (op_hermitian, octave_ ## TYPE ## _scalar, s_hermitian); \
INSTALL_NCUNOP (op_incr, octave_ ## TYPE ## _scalar, s_incr); \
INSTALL_NCUNOP (op_decr, octave_ ## TYPE ## _scalar, s_decr);
octave_value op_uplus(const octave_value &a)
Definition: ov.h:1294
#define INSTALL_NCUNOP(op, t, f)
Definition: ops.h:42
octave_value op_not(const octave_value &a)
Definition: ov.h:1293
octave_value op_transpose(const octave_value &a)
Definition: ov.h:1297
#define INSTALL_UNOP(op, t, f)
Definition: ops.h:38
octave_value op_hermitian(const octave_value &a)
Definition: ov.h:1298
octave_value op_uminus(const octave_value &a)
Definition: ov.h:1295

Definition at line 895 of file op-int.h.

#define OCTAVE_INSTALL_SM_INT_ARITH_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_add, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _add); \
INSTALL_BINOP (op_sub, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _sub); \
INSTALL_BINOP (op_mul, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _mul); \
/* INSTALL_BINOP (op_div, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _div); */ \
/* INSTALL_BINOP (op_pow, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _pow); */ \
INSTALL_BINOP (op_ldiv, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _ldiv); \
INSTALL_BINOP (op_el_mul, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_mul); \
INSTALL_BINOP (op_el_div, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_div); \
INSTALL_BINOP (op_el_pow, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_pow); \
INSTALL_BINOP (op_el_ldiv, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_ldiv);
octave_value op_el_pow(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1342
octave_value op_el_ldiv(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1343
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_div(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1341
octave_value op_add(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1323
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1329
octave_value op_sub(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1324
octave_value op_el_mul(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1340
octave_value op_mul(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1325
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 952 of file op-int.h.

#define OCTAVE_INSTALL_SM_INT_ASSIGNCONV (   TLHS,
  TRHS 
)
Value:
INSTALL_ASSIGNCONV (octave_ ## TLHS ## _scalar, octave_ ## TRHS ## _scalar, octave_ ## TLHS ## _matrix) \
INSTALL_ASSIGNCONV (octave_ ## TLHS ## _scalar, octave_ ## TRHS ## _matrix, octave_ ## TLHS ## _matrix)
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 1180 of file op-int.h.

Referenced by install_i16_i16_ops(), install_i32_i32_ops(), install_i64_i64_ops(), install_i8_i8_ops(), install_ui16_ui16_ops(), install_ui32_ui32_ops(), install_ui64_ui64_ops(), and install_ui8_ui8_ops().

#define OCTAVE_INSTALL_SM_INT_BOOL_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_el_and, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_and); \
INSTALL_BINOP (op_el_or, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_or); \
INSTALL_BINOP (op_el_and_not, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_and_not); \
INSTALL_BINOP (op_el_or_not, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _el_or_not);
octave_value op_el_or(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1345
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_and(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1344
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 972 of file op-int.h.

#define OCTAVE_INSTALL_SM_INT_CMP_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_lt, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _lt); \
INSTALL_BINOP (op_le, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _le); \
INSTALL_BINOP (op_eq, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _eq); \
INSTALL_BINOP (op_ge, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _ge); \
INSTALL_BINOP (op_gt, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _gt); \
INSTALL_BINOP (op_ne, octave_ ## T1 ## scalar, octave_ ## T2 ## matrix, PFX ## _ne);
octave_value op_eq(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1335
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_le(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1334
octave_value op_lt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1333
octave_value op_ne(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1338
octave_value op_ge(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1336
octave_value op_gt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1337
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 964 of file op-int.h.

#define OCTAVE_INSTALL_SM_INT_OPS (   TYPE)
Value:
OCTAVE_INSTALL_SM_INT_ARITH_OPS (sm, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_SM_INT_ARITH_OPS (smfx, TYPE ## _, float_) \
OCTAVE_INSTALL_SM_INT_ARITH_OPS (sfxm, float_, TYPE ## _) \
OCTAVE_INSTALL_SM_INT_CMP_OPS (sm, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_SM_INT_CMP_OPS (fxm, float_, TYPE ## _) \
OCTAVE_INSTALL_SM_INT_CMP_OPS (smfx, TYPE ## _, float_) \
OCTAVE_INSTALL_SM_INT_BOOL_OPS (sm, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_SM_INT_BOOL_OPS (fxm, float_, TYPE ## _) \
OCTAVE_INSTALL_SM_INT_BOOL_OPS (smfx, TYPE ## _, float_) \
INSTALL_WIDENOP (octave_ ## TYPE ## _scalar, octave_ ## TYPE ## _matrix, TYPE ## _s_ ## TYPE ## _m_conv) \
INSTALL_WIDENOP (octave_ ## TYPE ## _scalar, octave_complex_matrix, TYPE ## _s_complex_m_conv) \
INSTALL_WIDENOP (octave_ ## TYPE ## _scalar, octave_float_complex_matrix, TYPE ## _s_float_complex_m_conv) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_ ## TYPE ## _matrix, octave_ ## TYPE ## _matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_matrix, octave_ ## TYPE ## _matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_float_matrix, octave_ ## TYPE ## _matrix) \
#define INSTALL_WIDENOP(t1, t2, f)
Definition: ops.h:72
#define OCTAVE_INSTALL_SM_INT_BOOL_OPS(PFX, T1, T2)
Definition: op-int.h:972
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64
#define OCTAVE_INSTALL_SM_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:964
#define OCTAVE_INSTALL_SM_INT_ARITH_OPS(PFX, T1, T2)
Definition: op-int.h:952

Definition at line 978 of file op-int.h.

#define OCTAVE_INSTALL_SS_INT_ARITH_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_add, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _add); \
INSTALL_BINOP (op_sub, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _sub); \
INSTALL_BINOP (op_mul, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _mul); \
INSTALL_BINOP (op_div, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _div); \
INSTALL_BINOP (op_pow, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _pow); \
INSTALL_BINOP (op_ldiv, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _ldiv); \
INSTALL_BINOP (op_el_mul, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _el_mul); \
INSTALL_BINOP (op_el_div, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _el_div); \
INSTALL_BINOP (op_el_pow, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _el_pow); \
INSTALL_BINOP (op_el_ldiv, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _el_ldiv);
octave_value op_el_pow(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1342
octave_value op_el_ldiv(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1343
octave_value op_pow(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1328
octave_value op_div(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1326
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_div(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1341
octave_value op_add(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1323
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1329
octave_value op_sub(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1324
octave_value op_el_mul(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1340
octave_value op_mul(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1325
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 905 of file op-int.h.

#define OCTAVE_INSTALL_SS_INT_BOOL_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_el_and, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _el_and); \
INSTALL_BINOP (op_el_or, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _el_or);
octave_value op_el_or(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1345
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_el_and(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1344
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 925 of file op-int.h.

#define OCTAVE_INSTALL_SS_INT_CMP_OPS (   PFX,
  T1,
  T2 
)
Value:
INSTALL_BINOP (op_lt, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _lt); \
INSTALL_BINOP (op_le, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _le); \
INSTALL_BINOP (op_eq, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _eq); \
INSTALL_BINOP (op_ge, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _ge); \
INSTALL_BINOP (op_gt, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _gt); \
INSTALL_BINOP (op_ne, octave_ ## T1 ## scalar, octave_ ## T2 ## scalar, PFX ## _ne);
octave_value op_eq(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1335
#define INSTALL_BINOP(op, t1, t2, f)
Definition: ops.h:46
octave_value op_le(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1334
octave_value op_lt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1333
octave_value op_ne(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1338
octave_value op_ge(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1336
octave_value op_gt(const octave_value &a1, const octave_value &a2)
Definition: ov.h:1337
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 917 of file op-int.h.

#define OCTAVE_INSTALL_SS_INT_OPS (   TYPE)
Value:
OCTAVE_INSTALL_SS_INT_ARITH_OPS (ss, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_SS_INT_ARITH_OPS (ssfx, TYPE ## _, float_) \
OCTAVE_INSTALL_SS_INT_ARITH_OPS (sfxs, float_, TYPE ## _) \
OCTAVE_INSTALL_SS_INT_CMP_OPS (ss, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_SS_INT_CMP_OPS (sfx, TYPE ## _, float_) \
OCTAVE_INSTALL_SS_INT_CMP_OPS (fxs, float_, TYPE ## _) \
OCTAVE_INSTALL_SS_INT_BOOL_OPS (ss, TYPE ## _, TYPE ## _) \
OCTAVE_INSTALL_SS_INT_BOOL_OPS (sfx, TYPE ## _, float_) \
OCTAVE_INSTALL_SS_INT_BOOL_OPS (fxs, float_, TYPE ## _) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_ ## TYPE ## _scalar, octave_ ## TYPE ## _matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_scalar, octave_ ## TYPE ## _matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_float_scalar, octave_ ## TYPE ## _matrix) \
#define OCTAVE_INSTALL_S_INT_UNOPS(TYPE)
Definition: op-int.h:895
#define OCTAVE_INSTALL_SS_INT_BOOL_OPS(PFX, T1, T2)
Definition: op-int.h:925
#define OCTAVE_INSTALL_SS_INT_ARITH_OPS(PFX, T1, T2)
Definition: op-int.h:905
#define OCTAVE_INSTALL_SS_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:917
#define INSTALL_ASSIGNCONV(t1, t2, tr)
Definition: ops.h:64

Definition at line 929 of file op-int.h.

#define OCTAVE_INT_CHAR_CONCAT_FN (   TYPE)
Value:
DEFNDCHARCATOP_FN (TYPE ## _ ## char ## _s_m, TYPE ## _scalar, char_matrix, concat) \
DEFNDCHARCATOP_FN (TYPE ## _ ## char ## _m_m, TYPE ## _matrix, char_matrix, concat)
#define DEFNDCHARCATOP_FN(name, t1, t2, f)
Definition: ops.h:371
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664

Definition at line 133 of file op-int.h.

#define OCTAVE_INT_DOUBLE_CONCAT_FN (   TYPE)
Value:
DEFNDCATOP_FN2 (TYPE ## _ ## double ## _s_s, TYPE ## _scalar, scalar, , TYPE ## NDArray, TYPE ## _array, array, concat) \
DEFNDCATOP_FN2 (TYPE ## _ ## double ## _s_m, TYPE ## _scalar, matrix, , TYPE ## NDArray, TYPE ## _array, array, concat) \
DEFNDCATOP_FN2 (TYPE ## _ ## double ## _m_s, TYPE ## _matrix, scalar, , TYPE ## NDArray, TYPE ## _array, array, concat) \
DEFNDCATOP_FN2 (TYPE ## _ ## double ## _m_m, TYPE ## _matrix, matrix, , TYPE ## NDArray, TYPE ## _array, array, concat)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664
#define DEFNDCATOP_FN2(name, t1, t2, tc1, tc2, e1, e2, f)
Definition: ops.h:384
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 84 of file op-int.h.

#define OCTAVE_INT_FLOAT_CONCAT_FN (   TYPE)
Value:
DEFNDCATOP_FN2 (TYPE ## _ ## float ## _s_s, TYPE ## _scalar, float_scalar, , TYPE ## NDArray, TYPE ## _array, float_array, concat) \
DEFNDCATOP_FN2 (TYPE ## _ ## float ## _s_m, TYPE ## _scalar, float_matrix, , TYPE ## NDArray, TYPE ## _array, float_array, concat) \
DEFNDCATOP_FN2 (TYPE ## _ ## float ## _m_s, TYPE ## _matrix, float_scalar, , TYPE ## NDArray, TYPE ## _array, float_array, concat) \
DEFNDCATOP_FN2 (TYPE ## _ ## float ## _m_m, TYPE ## _matrix, float_matrix, , TYPE ## NDArray, TYPE ## _array, float_array, concat)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Definition: CNDArray.cc:664
#define DEFNDCATOP_FN2(name, t1, t2, tc1, tc2, e1, e2, f)
Definition: ops.h:384

Definition at line 108 of file op-int.h.

#define OCTAVE_INT_NULL_ASSIGN_OPS (   TYPE)    DEFNULLASSIGNOP_FN (TYPE ## null_assign, TYPE ## _matrix, delete_elements)

Definition at line 880 of file op-int.h.

#define OCTAVE_INT_OPS (   TYPE)
Value:
#define OCTAVE_CX_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:872
#define OCTAVE_CONCAT_FN(TYPE)
Definition: op-int.h:143
#define OCTAVE_RE_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:864
#define OCTAVE_INT_NULL_ASSIGN_OPS(TYPE)
Definition: op-int.h:880
#define OCTAVE_MM_INT_OPS(TYPE)
Definition: op-int.h:839
#define OCTAVE_FLT_RE_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:868
#define OCTAVE_MS_INT_OPS(TYPE)
Definition: op-int.h:592
#define OCTAVE_FLT_CX_INT_ASSIGN_OPS(TYPE)
Definition: op-int.h:876
#define OCTAVE_SS_INT_OPS(TYPE)
Definition: op-int.h:283
#define OCTAVE_SM_INT_OPS(TYPE)
Definition: op-int.h:438

Definition at line 883 of file op-int.h.

#define OCTAVE_M_INT_UNOPS (   TYPE)
Value:
/* matrix unary ops. */ \
DEFNDUNOP_OP (m_not, TYPE ## _matrix, TYPE ## _array, !) \
DEFNDUNOP_OP (m_uplus, TYPE ## _matrix, TYPE ## _array, /* no-op */) \
DEFUNOP (m_uminus, TYPE ## _matrix) \
{ \
CAST_UNOP_ARG (const octave_ ## TYPE ## _matrix &); \
octave_value retval = octave_value (- v. TYPE ## _array_value ()); \
return retval; \
} \
DEFUNOP (m_transpose, TYPE ## _matrix) \
{ \
CAST_UNOP_ARG (const octave_ ## TYPE ## _matrix&); \
\
if (v.ndims () > 2) \
{ \
error ("transpose not defined for N-d objects"); \
return octave_value (); \
} \
else \
return octave_value (v.TYPE ## _array_value ().transpose ()); \
} \
DEFNCUNOP_METHOD (m_incr, TYPE ## _matrix, increment) \
DEFNCUNOP_METHOD (m_decr, TYPE ## _matrix, decrement) \
DEFNCUNOP_METHOD (m_changesign, TYPE ## _matrix, changesign)
#define DEFUNOP(name, t)
Definition: ops.h:231
static void transpose(octave_idx_type N, const octave_idx_type *ridx, const octave_idx_type *cidx, octave_idx_type *ridx2, octave_idx_type *cidx2)
Definition: symrcm.cc:382
void error(const char *fmt,...)
Definition: error.cc:476
#define CAST_UNOP_ARG(t)
Definition: ops.h:76
#define DEFNDUNOP_OP(name, t, e, op)
Definition: ops.h:241
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
#define DEFNCUNOP_METHOD(name, t, method)
Definition: ops.h:264

Definition at line 614 of file op-int.h.

#define OCTAVE_MIXED_INT_CMP_OPS (   T1,
  T2 
)
Value:
OCTAVE_SS_INT_CMP_OPS (T1 ## _ ## T2 ## _ss, T1 ## _, T2 ## _) \
OCTAVE_SM_INT_CMP_OPS (T1 ## _ ## T2 ## _sm, T1 ## _, T2 ## _) \
OCTAVE_MS_INT_CMP_OPS (T1 ## _ ## T2 ## _ms, T1 ## _, T2 ## _) \
OCTAVE_MM_INT_CMP_OPS (T1 ## _ ## T2 ## _mm, T1 ## _, T2 ## _)
#define OCTAVE_SM_INT_CMP_OPS(PFX, TS, TM)
Definition: op-int.h:354
#define OCTAVE_SS_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:244
#define OCTAVE_MM_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:674
#define OCTAVE_MS_INT_CMP_OPS(PFX, TM, TS)
Definition: op-int.h:512

Definition at line 1184 of file op-int.h.

#define OCTAVE_MM_CONV (   T1,
  T2 
)
Value:
DEFCONV (T1 ## m_ ## T2 ## m_conv, T1 ## matrix, T2 ## matrix) \
{ \
CAST_CONV_ARG (const octave_ ## T1 ## matrix&); \
\
return new octave_ ## T2 ## matrix (v.T2 ## array_value ()); \
}
#define CAST_CONV_ARG(t)
Definition: ops.h:83
#define DEFCONV(name, a_dummy, b_dummy)
Definition: ops.h:174

Definition at line 831 of file op-int.h.

#define OCTAVE_MM_INT_ARITH_OPS (   PFX,
  T1,
  T2,
  T3 
)
Value:
/* matrix by matrix ops. */ \
DEFINTNDBINOP_OP (PFX ## _add, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, +, T3) \
DEFINTNDBINOP_OP (PFX ## _sub, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, -, T3) \
\
/* DEFBINOP_OP (PFX ## _mul, T1 ## matrix, T2 ## matrix, *) */ \
/* DEFBINOP_FN (PFX ## _div, T1 ## matrix, T2 ## matrix, xdiv) */ \
DEFBINOPX (PFX ## _pow, T1 ## matrix, T2 ## matrix) \
{ \
error ("can't do A ^ B for A and B both matrices"); \
return octave_value (); \
} \
\
/* DEFBINOP_FN (PFX ## _ldiv, T1 ## matrix, T2 ## matrix, xleftdiv) */ \
DEFINTNDBINOP_FN (PFX ## _el_mul, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, product, T3, .*) \
DEFINTNDBINOP_FN (PFX ## _el_div, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, quotient, T3, ./) \
DEFINTNDBINOP_FN (PFX ## _el_pow, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, elem_xpow, T3, .^) \
DEFBINOP (PFX ## _el_ldiv, T1 ## matrix, T2 ## matrix) \
{ \
CAST_BINOP_ARGS (const octave_ ## T1 ## matrix&, const octave_ ## T2 ## matrix&); \
\
octave_value retval = octave_value (quotient (v2.T2 ## array_value (), v1.T1 ## array_value ())); \
return retval; \
}
ComplexColumnVector product(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149
#define DEFBINOP(name, t1, t2)
Definition: ops.h:279
#define DEFBINOPX(name, t1, t2)
Definition: ops.h:276
void error(const char *fmt,...)
Definition: error.cc:476
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
#define CAST_BINOP_ARGS(t1, t2)
Definition: ops.h:79
ComplexColumnVector quotient(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149
octave_value elem_xpow(double a, const SparseMatrix &b)
Definition: sparse-xpow.cc:258
#define DEFINTNDBINOP_OP(name, t1, t2, e1, e2, op, t3)
Definition: op-int.h:35
const octave_char_matrix & v2
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
#define DEFINTNDBINOP_FN(name, t1, t2, e1, e2, f, t3, op)
Definition: op-int.h:52

Definition at line 643 of file op-int.h.

#define OCTAVE_MM_INT_ASSIGN_OPS (   PFX,
  TLHS,
  TRHS,
  TE 
)    DEFNDASSIGNOP_FN (PFX ## _assign, TLHS ## matrix, TRHS ## matrix, TLHS ## array, assign)

Definition at line 690 of file op-int.h.

#define OCTAVE_MM_INT_ASSIGNEQ_OPS (   PFX,
  TM 
)
Value:
DEFNDASSIGNOP_OP (PFX ## _assign_add, TM ## matrix, TM ## matrix, TM ## array, +=) \
DEFNDASSIGNOP_OP (PFX ## _assign_sub, TM ## matrix, TM ## matrix, TM ## array, -=) \
DEFNDASSIGNOP_FNOP (PFX ## _assign_el_mul, TM ## matrix, TM ## matrix, TM ## array, product_eq) \
DEFNDASSIGNOP_FNOP (PFX ## _assign_el_div, TM ## matrix, TM ## matrix, TM ## array, quotient_eq)
ComplexColumnVector quotient_eq(ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149
#define DEFNDASSIGNOP_FNOP(name, t1, t2, f, fnop)
Definition: ops.h:146
#define DEFNDASSIGNOP_OP(name, t1, t2, f, op)
Definition: ops.h:135
ComplexColumnVector product_eq(ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149

Definition at line 693 of file op-int.h.

#define OCTAVE_MM_INT_BOOL_OPS (   PFX,
  T1,
  T2 
)
Value:
DEFNDBINOP_FN (PFX ## _el_and, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_and) \
DEFNDBINOP_FN (PFX ## _el_or, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_or) \
DEFNDBINOP_FN (PFX ## _el_not_and, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_not_and) \
DEFNDBINOP_FN (PFX ## _el_not_or, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_not_or) \
DEFNDBINOP_FN (PFX ## _el_and_not, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_and_not) \
DEFNDBINOP_FN (PFX ## _el_or_not, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_or_not)
boolNDArray mx_el_and_not(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137
boolNDArray mx_el_not_or(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137
boolNDArray mx_el_not_and(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
Definition: ops.h:330
boolMatrix mx_el_or(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:87
boolMatrix mx_el_and(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:87
boolNDArray mx_el_or_not(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137

Definition at line 682 of file op-int.h.

#define OCTAVE_MM_INT_CMP_OPS (   PFX,
  T1,
  T2 
)
Value:
DEFNDBINOP_FN (PFX ## _lt, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_lt) \
DEFNDBINOP_FN (PFX ## _le, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_le) \
DEFNDBINOP_FN (PFX ## _eq, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_eq) \
DEFNDBINOP_FN (PFX ## _ge, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_ge) \
DEFNDBINOP_FN (PFX ## _gt, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_gt) \
DEFNDBINOP_FN (PFX ## _ne, T1 ## matrix, T2 ## matrix, T1 ## array, T2 ## array, mx_el_ne)
boolMatrix mx_el_le(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
Definition: ops.h:330
boolMatrix mx_el_ge(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_gt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_ne(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_lt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_eq(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90

Definition at line 674 of file op-int.h.

#define OCTAVE_MM_INT_OPS (   TYPE)
Value:
OCTAVE_MM_POW_OPS (TYPE, TYPE) \
OCTAVE_MM_INT_ARITH_OPS (mm, TYPE ## _, TYPE ## _, TYPE) \
OCTAVE_MM_INT_ARITH_OPS (mmx, TYPE ## _, , TYPE) \
OCTAVE_MM_INT_ARITH_OPS (mxm, , TYPE ## _, TYPE) \
OCTAVE_MM_INT_ARITH_OPS (mmfx, TYPE ## _, float_, TYPE) \
OCTAVE_MM_INT_ARITH_OPS (mfxm, float_, TYPE ## _, TYPE) \
OCTAVE_MM_INT_CMP_OPS (mm, TYPE ## _, TYPE ## _) \
OCTAVE_MM_INT_CMP_OPS (mmx, TYPE ## _, ) \
OCTAVE_MM_INT_CMP_OPS (mfxm, float_, TYPE ## _) \
OCTAVE_MM_INT_CMP_OPS (mmfx, TYPE ## _, float_) \
OCTAVE_MM_INT_CMP_OPS (mxm, , TYPE ## _) \
OCTAVE_MM_INT_BOOL_OPS (mm, TYPE ## _, TYPE ## _) \
OCTAVE_MM_INT_BOOL_OPS (mmx, TYPE ## _, ) \
OCTAVE_MM_INT_BOOL_OPS (mxm, , TYPE ## _) \
OCTAVE_MM_INT_BOOL_OPS (mmfx, TYPE ## _, float_) \
OCTAVE_MM_INT_BOOL_OPS (mfxm, float_, TYPE ## _) \
OCTAVE_MM_INT_ASSIGN_OPS (mm, TYPE ## _, TYPE ## _, TYPE ## _) \
OCTAVE_MM_INT_ASSIGN_OPS (mmx, TYPE ## _, , ) \
OCTAVE_MM_INT_ASSIGN_OPS (mmfx, TYPE ## _, float_, float_) \
OCTAVE_MM_CONV(TYPE ## _, complex_) \
OCTAVE_MM_CONV(TYPE ## _, float_complex_)
#define OCTAVE_MM_INT_ARITH_OPS(PFX, T1, T2, T3)
Definition: op-int.h:643
#define OCTAVE_MM_INT_BOOL_OPS(PFX, T1, T2)
Definition: op-int.h:682
#define OCTAVE_MM_POW_OPS(T1, T2)
Definition: op-int.h:699
#define OCTAVE_MM_CONV(T1, T2)
Definition: op-int.h:831
#define OCTAVE_MM_INT_ASSIGN_OPS(PFX, TLHS, TRHS, TE)
Definition: op-int.h:690
#define OCTAVE_MM_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:674
#define OCTAVE_MM_INT_ASSIGNEQ_OPS(PFX, TM)
Definition: op-int.h:693
#define OCTAVE_M_INT_UNOPS(TYPE)
Definition: op-int.h:614

Definition at line 839 of file op-int.h.

#define OCTAVE_MM_POW_OPS (   T1,
  T2 
)

Definition at line 699 of file op-int.h.

#define OCTAVE_MS_INT_ARITH_OPS (   PFX,
  TM,
  TS,
  TI 
)

Definition at line 459 of file op-int.h.

#define OCTAVE_MS_INT_ASSIGN_OPS (   PFX,
  TM,
  TS,
  TE 
)    DEFNDASSIGNOP_FN (PFX ## _assign, TM ## matrix, TS ## scalar, TM ## scalar, assign)

Definition at line 526 of file op-int.h.

#define OCTAVE_MS_INT_ASSIGNEQ_OPS (   PFX,
  TM 
)
Value:
DEFNDASSIGNOP_OP (PFX ## _assign_add, TM ## matrix, TM ## scalar, TM ## scalar, +=) \
DEFNDASSIGNOP_OP (PFX ## _assign_sub, TM ## matrix, TM ## scalar, TM ## scalar, -=) \
DEFNDASSIGNOP_OP (PFX ## _assign_mul, TM ## matrix, TM ## scalar, TM ## scalar, *=) \
DEFNDASSIGNOP_OP (PFX ## _assign_div, TM ## matrix, TM ## scalar, TM ## scalar, /=)
#define DEFNDASSIGNOP_OP(name, t1, t2, f, op)
Definition: ops.h:135
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 529 of file op-int.h.

#define OCTAVE_MS_INT_BOOL_OPS (   PFX,
  TM,
  TS 
)
Value:
DEFNDBINOP_FN (PFX ## _el_and, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_and) \
DEFNDBINOP_FN (PFX ## _el_or, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_or) \
DEFNDBINOP_FN (PFX ## _el_not_and, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_not_and) \
DEFNDBINOP_FN (PFX ## _el_not_or, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_not_or)
boolNDArray mx_el_not_or(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137
boolNDArray mx_el_not_and(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
Definition: ops.h:330
boolMatrix mx_el_or(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:87
boolMatrix mx_el_and(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:87
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 520 of file op-int.h.

#define OCTAVE_MS_INT_CMP_OPS (   PFX,
  TM,
  TS 
)
Value:
DEFNDBINOP_FN (PFX ## _lt, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_lt) \
DEFNDBINOP_FN (PFX ## _le, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_le) \
DEFNDBINOP_FN (PFX ## _eq, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_eq) \
DEFNDBINOP_FN (PFX ## _ge, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_ge) \
DEFNDBINOP_FN (PFX ## _gt, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_gt) \
DEFNDBINOP_FN (PFX ## _ne, TM ## matrix, TS ## scalar, TM ## array, TS ## scalar, mx_el_ne)
boolMatrix mx_el_le(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
Definition: ops.h:330
boolMatrix mx_el_ge(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_gt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_ne(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_lt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_eq(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 512 of file op-int.h.

#define OCTAVE_MS_INT_OPS (   TYPE)
Value:
OCTAVE_MS_POW_OPS (TYPE, TYPE) \
OCTAVE_MS_INT_ARITH_OPS (ms, TYPE ## _, TYPE ## _, TYPE) \
OCTAVE_MS_INT_ARITH_OPS (msx, TYPE ## _, , TYPE) \
OCTAVE_MS_INT_ARITH_OPS (mxs, , TYPE ## _, TYPE) \
OCTAVE_MS_INT_ARITH_OPS (msfx, TYPE ## _, float_, TYPE) \
OCTAVE_MS_INT_ARITH_OPS (mfxs, float_, TYPE ## _, TYPE) \
OCTAVE_MS_INT_CMP_OPS (ms, TYPE ## _, TYPE ## _) \
OCTAVE_MS_INT_CMP_OPS (mx, TYPE ## _, ) \
OCTAVE_MS_INT_CMP_OPS (mxs, , TYPE ## _) \
OCTAVE_MS_INT_CMP_OPS (mfx, TYPE ## _, float_) \
OCTAVE_MS_INT_CMP_OPS (mfxs, float_, TYPE ## _) \
OCTAVE_MS_INT_BOOL_OPS (ms, TYPE ## _, TYPE ## _) \
OCTAVE_MS_INT_BOOL_OPS (mx, TYPE ## _, ) \
OCTAVE_MS_INT_BOOL_OPS (mxs, , TYPE ## _) \
OCTAVE_MS_INT_BOOL_OPS (mfx, TYPE ## _, float_) \
OCTAVE_MS_INT_BOOL_OPS (mfxs, float_, TYPE ## _) \
OCTAVE_MS_INT_ASSIGN_OPS (ms, TYPE ## _, TYPE ## _, TYPE ## _) \
OCTAVE_MS_INT_ASSIGN_OPS (mx, TYPE ## _, , ) \
OCTAVE_MS_INT_ASSIGN_OPS (mfx, TYPE ## _, float_, float_)
#define OCTAVE_MS_POW_OPS(T1, T2)
Definition: op-int.h:535
#define OCTAVE_MS_INT_ARITH_OPS(PFX, TM, TS, TI)
Definition: op-int.h:459
#define OCTAVE_MS_INT_BOOL_OPS(PFX, TM, TS)
Definition: op-int.h:520
#define OCTAVE_MS_INT_ASSIGN_OPS(PFX, TM, TS, TE)
Definition: op-int.h:526
#define OCTAVE_MS_INT_CMP_OPS(PFX, TM, TS)
Definition: op-int.h:512
#define OCTAVE_MS_INT_ASSIGNEQ_OPS(PFX, TM)
Definition: op-int.h:529

Definition at line 592 of file op-int.h.

#define OCTAVE_MS_POW_OPS (   T1,
  T2 
)

Definition at line 535 of file op-int.h.

#define OCTAVE_RE_INT_ASSIGN_OPS (   TYPE)
Value:
DEFNDASSIGNOP_FN (TYPE ## ms_assign, matrix, TYPE ## _scalar, array, assign) \
DEFNDASSIGNOP_FN (TYPE ## mm_assign, matrix, TYPE ## _matrix, array, assign)
#define DEFNDASSIGNOP_FN(name, t1, t2, e, f)
Definition: ops.h:125

Definition at line 864 of file op-int.h.

#define OCTAVE_S_INT_UNOPS (   TYPE)
Value:
/* scalar unary ops. */ \
DEFUNOP_OP (s_not, TYPE ## _scalar, !) \
DEFUNOP_OP (s_uplus, TYPE ## _scalar, /* no-op */) \
DEFUNOP (s_uminus, TYPE ## _scalar) \
{ \
CAST_UNOP_ARG (const octave_ ## TYPE ## _scalar &); \
octave_value retval = octave_value (- v. TYPE ## _scalar_value ()); \
return retval; \
} \
DEFUNOP_OP (s_transpose, TYPE ## _scalar, /* no-op */) \
DEFUNOP_OP (s_hermitian, TYPE ## _scalar, /* no-op */) \
DEFNCUNOP_METHOD (s_incr, TYPE ## _scalar, increment) \
DEFNCUNOP_METHOD (s_decr, TYPE ## _scalar, decrement)
#define DEFUNOP(name, t)
Definition: ops.h:231
#define DEFUNOP_OP(name, t, op)
Definition: ops.h:234
#define CAST_UNOP_ARG(t)
Definition: ops.h:76
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
#define DEFNCUNOP_METHOD(name, t, method)
Definition: ops.h:264

Definition at line 155 of file op-int.h.

#define OCTAVE_SM_CONV (   TS,
  TM 
)
Value:
DEFCONV (TS ## s_ ## TM ## m_conv, TM ## scalar, TM ## matrix) \
{ \
CAST_CONV_ARG (const octave_ ## TS ## scalar&); \
\
return new octave_ ## TM ## matrix (v.TM ## array_value ()); \
}
#define CAST_CONV_ARG(t)
Definition: ops.h:83
#define DEFCONV(name, a_dummy, b_dummy)
Definition: ops.h:174
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 430 of file op-int.h.

#define OCTAVE_SM_INT_ARITH_OPS (   PFX,
  TS,
  TM,
  TI 
)

Definition at line 302 of file op-int.h.

#define OCTAVE_SM_INT_BOOL_OPS (   PFX,
  TS,
  TM 
)
Value:
DEFNDBINOP_FN (PFX ## _el_and, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_and) \
DEFNDBINOP_FN (PFX ## _el_or, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_or) \
DEFNDBINOP_FN (PFX ## _el_and_not, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_and_not) \
DEFNDBINOP_FN (PFX ## _el_or_not, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_or_not)
boolNDArray mx_el_and_not(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
Definition: ops.h:330
boolMatrix mx_el_or(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:87
boolMatrix mx_el_and(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:87
boolNDArray mx_el_or_not(const boolNDArray &m1, const boolNDArray &m2)
Definition: boolNDArray.cc:137
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 362 of file op-int.h.

#define OCTAVE_SM_INT_CMP_OPS (   PFX,
  TS,
  TM 
)
Value:
DEFNDBINOP_FN (PFX ## _lt, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_lt) \
DEFNDBINOP_FN (PFX ## _le, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_le) \
DEFNDBINOP_FN (PFX ## _eq, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_eq) \
DEFNDBINOP_FN (PFX ## _ge, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_ge) \
DEFNDBINOP_FN (PFX ## _gt, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_gt) \
DEFNDBINOP_FN (PFX ## _ne, TS ## scalar, TM ## matrix, TS ## scalar, TM ## array, mx_el_ne)
boolMatrix mx_el_le(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
Definition: ops.h:330
boolMatrix mx_el_ge(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_gt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_ne(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_lt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
boolMatrix mx_el_eq(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:90
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 354 of file op-int.h.

#define OCTAVE_SM_INT_OPS (   TYPE)
Value:
OCTAVE_SM_POW_OPS (TYPE, TYPE) \
OCTAVE_SM_INT_ARITH_OPS (sm, TYPE ## _, TYPE ## _, TYPE) \
OCTAVE_SM_INT_ARITH_OPS (smx, TYPE ## _, , TYPE) \
OCTAVE_SM_INT_ARITH_OPS (sxm, , TYPE ## _, TYPE) \
OCTAVE_SM_INT_ARITH_OPS (smfx, TYPE ## _, float_, TYPE) \
OCTAVE_SM_INT_ARITH_OPS (sfxm, float_, TYPE ## _, TYPE) \
OCTAVE_SM_INT_CMP_OPS (sm, TYPE ## _, TYPE ## _) \
OCTAVE_SM_INT_CMP_OPS (xm, , TYPE ## _) \
OCTAVE_SM_INT_CMP_OPS (smx, TYPE ## _, ) \
OCTAVE_SM_INT_CMP_OPS (fxm, float_, TYPE ## _) \
OCTAVE_SM_INT_CMP_OPS (smfx, TYPE ## _, float_) \
OCTAVE_SM_INT_BOOL_OPS (sm, TYPE ## _, TYPE ## _) \
OCTAVE_SM_INT_BOOL_OPS (xm, , TYPE ## _) \
OCTAVE_SM_INT_BOOL_OPS (smx, TYPE ## _, ) \
OCTAVE_SM_INT_BOOL_OPS (fxm, float_, TYPE ## _) \
OCTAVE_SM_INT_BOOL_OPS (smfx, TYPE ## _, float_) \
OCTAVE_SM_CONV (TYPE ## _, TYPE ## _) \
OCTAVE_SM_CONV (TYPE ## _, complex_) \
OCTAVE_SM_CONV (TYPE ## _, float_complex_)
#define OCTAVE_SM_INT_BOOL_OPS(PFX, TS, TM)
Definition: op-int.h:362
#define OCTAVE_SM_INT_ARITH_OPS(PFX, TS, TM, TI)
Definition: op-int.h:302
#define OCTAVE_SM_POW_OPS(T1, T2)
Definition: op-int.h:368
#define OCTAVE_SM_CONV(TS, TM)
Definition: op-int.h:430
#define OCTAVE_SM_INT_CMP_OPS(PFX, TS, TM)
Definition: op-int.h:354

Definition at line 438 of file op-int.h.

#define OCTAVE_SM_POW_OPS (   T1,
  T2 
)

Definition at line 368 of file op-int.h.

#define OCTAVE_SS_INT_ARITH_OPS (   PFX,
  T1,
  T2,
  T3 
)

Definition at line 172 of file op-int.h.

#define OCTAVE_SS_INT_BOOL_OPS (   PFX,
  T1,
  T2,
  Z1,
  Z2 
)
Value:
DEFBINOP (PFX ## _el_and, T2, T2) \
{ \
CAST_BINOP_ARGS (const octave_ ## T1 ## scalar&, const octave_ ## T2 ## scalar&); \
\
return v1.T1 ## scalar_value () != Z1 && v2.T2 ## scalar_value () != Z2; \
} \
DEFBINOP (PFX ## _el_or, T1, T2) \
{ \
CAST_BINOP_ARGS (const octave_ ## T1 ## scalar&, const octave_ ## T2 ## scalar&); \
\
return v1.T1 ## scalar_value () != Z1 || v2.T2 ## scalar_value () != Z2; \
}
#define DEFBINOP(name, t1, t2)
Definition: ops.h:279
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
#define CAST_BINOP_ARGS(t1, t2)
Definition: ops.h:79
const octave_char_matrix & v2
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 229 of file op-int.h.

#define OCTAVE_SS_INT_CMP_OPS (   PFX,
  T1,
  T2 
)
Value:
DEFBINOP_OP (PFX ## _lt, T1 ## scalar, T2 ## scalar, <) \
DEFBINOP_OP (PFX ## _le, T1 ## scalar, T2 ## scalar, <=) \
DEFBINOP_OP (PFX ## _eq, T1 ## scalar, T2 ## scalar, ==) \
DEFBINOP_OP (PFX ## _ge, T1 ## scalar, T2 ## scalar, >=) \
DEFBINOP_OP (PFX ## _gt, T1 ## scalar, T2 ## scalar, >) \
DEFBINOP_OP (PFX ## _ne, T1 ## scalar, T2 ## scalar, !=)
#define DEFBINOP_OP(name, t1, t2, op)
Definition: ops.h:282
static bool scalar(const dim_vector &dims)
Definition: ov-struct.cc:736

Definition at line 244 of file op-int.h.

#define OCTAVE_SS_INT_OPS (   TYPE)
Value:
OCTAVE_SS_POW_OPS (TYPE, TYPE) \
OCTAVE_SS_INT_ARITH_OPS (ss, TYPE ## _, TYPE ## _, TYPE) \
OCTAVE_SS_INT_ARITH_OPS (ssx, TYPE ## _, , TYPE) \
OCTAVE_SS_INT_ARITH_OPS (sxs, , TYPE ## _, TYPE) \
OCTAVE_SS_INT_ARITH_OPS (ssfx, TYPE ## _, float_, TYPE) \
OCTAVE_SS_INT_ARITH_OPS (sfxs, float_, TYPE ## _, TYPE) \
OCTAVE_SS_INT_CMP_OPS (ss, TYPE ## _, TYPE ## _) \
OCTAVE_SS_INT_CMP_OPS (sx, TYPE ## _, ) \
OCTAVE_SS_INT_CMP_OPS (xs, , TYPE ## _) \
OCTAVE_SS_INT_CMP_OPS (sfx, TYPE ## _, float_) \
OCTAVE_SS_INT_CMP_OPS (fxs, float_, TYPE ## _) \
OCTAVE_SS_INT_BOOL_OPS (ss, TYPE ## _, TYPE ## _, octave_ ## TYPE (0), octave_ ## TYPE (0)) \
OCTAVE_SS_INT_BOOL_OPS (sx, TYPE ## _, , octave_ ## TYPE (0), 0) \
OCTAVE_SS_INT_BOOL_OPS (xs, , TYPE ## _, 0, octave_ ## TYPE (0)) \
OCTAVE_SS_INT_BOOL_OPS (sfx, TYPE ## _, float_, octave_ ## TYPE (0), 0) \
OCTAVE_SS_INT_BOOL_OPS (fxs, float_, TYPE ## _, 0, octave_ ## TYPE (0))
#define OCTAVE_SS_INT_ARITH_OPS(PFX, T1, T2, T3)
Definition: op-int.h:172
#define OCTAVE_SS_INT_CMP_OPS(PFX, T1, T2)
Definition: op-int.h:244
#define OCTAVE_S_INT_UNOPS(TYPE)
Definition: op-int.h:155
#define OCTAVE_SS_INT_BOOL_OPS(PFX, T1, T2, Z1, Z2)
Definition: op-int.h:229
#define OCTAVE_SS_POW_OPS(T1, T2)
Definition: op-int.h:252

Definition at line 283 of file op-int.h.

#define OCTAVE_SS_POW_OPS (   T1,
  T2 
)
Value:
xpow (const octave_ ## T1& a, const octave_ ## T2& b) \
{ \
return pow (a, b); \
} \
xpow (const octave_ ## T1& a, double b) \
{ \
return pow (a, b); \
} \
xpow (double a, const octave_ ## T1& b) \
{ \
return pow (a, b); \
} \
xpow (const octave_ ## T1& a, float b) \
{ \
return powf (a, b); \
} \
xpow (float a, const octave_ ## T1& b) \
{ \
return powf (a, b); \
}
octave_value xpow(const SparseMatrix &a, double b)
Definition: sparse-xpow.cc:59
octave_int< T > powf(const float &a, const octave_int< T > &b)
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)

Definition at line 252 of file op-int.h.