GNU Octave  3.8.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; \
}

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

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

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

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)

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)

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)

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)

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)

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)

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)

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)

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)

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

#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)

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)

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

#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) \
INSTALL_ASSIGNCONV (octave_complex_scalar, octave_ ## TYPE ## _scalar, octave_complex_matrix) \
INSTALL_ASSIGNCONV (octave_complex_matrix, octave_ ## TYPE ## _matrix, octave_complex_matrix)

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)

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

#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)

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

#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) \
INSTALL_ASSIGNCONV (octave_float_complex_scalar, octave_ ## TYPE ## _scalar, octave_complex_matrix) \
INSTALL_ASSIGNCONV (octave_float_complex_matrix, octave_ ## TYPE ## _matrix, octave_complex_matrix)

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) \
INSTALL_ASSIGNCONV (octave_float_scalar, octave_ ## TYPE ## _scalar, octave_float_matrix) \
INSTALL_ASSIGNCONV (octave_float_matrix, octave_ ## TYPE ## _matrix, octave_float_matrix)

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)

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

#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)

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

#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)

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

#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)

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

#define OCTAVE_INSTALL_INT_OPS (   TYPE)
Value:
OCTAVE_INSTALL_SM_INT_OPS (TYPE) \
OCTAVE_INSTALL_MS_INT_OPS (TYPE) \
OCTAVE_INSTALL_MM_INT_OPS (TYPE) \
OCTAVE_INSTALL_CONCAT_FN (TYPE) \
OCTAVE_INSTALL_RE_INT_ASSIGN_OPS (TYPE) \
OCTAVE_INSTALL_FLT_RE_INT_ASSIGN_OPS (TYPE) \
OCTAVE_INSTALL_CX_INT_ASSIGN_OPS (TYPE) \
OCTAVE_INSTALL_FLT_CX_INT_ASSIGN_OPS (TYPE) \
OCTAVE_INSTALL_INT_NULL_ASSIGN_OPS(TYPE)

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

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 ## _)

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

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)

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);

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);

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 (mmx, TYPE ##_, ) \
OCTAVE_INSTALL_MM_INT_ARITH_OPS (mxm, , 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 (mmx, TYPE ## _, ) \
OCTAVE_INSTALL_MM_INT_CMP_OPS (mxm, , 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 (mmx, TYPE ## _, ) \
OCTAVE_INSTALL_MM_INT_BOOL_OPS (mxm, , 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 (mmx, 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) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _matrix, octave_complex_matrix, octave_complex_matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _matrix, octave_float_complex_matrix, octave_float_complex_matrix)

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);

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)

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);

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);

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 (msx, TYPE ## _, ) \
OCTAVE_INSTALL_MS_INT_ARITH_OPS (mxs, , 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 (mx, TYPE ## _, ) \
OCTAVE_INSTALL_MS_INT_CMP_OPS (mxs, , 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 (mx, TYPE ## _, ) \
OCTAVE_INSTALL_MS_INT_BOOL_OPS (mxs, , 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 (mx, TYPE ## _, ) \
OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mfx, TYPE ## _, float_) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _matrix, octave_complex_scalar, octave_complex_matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _matrix, octave_float_complex_scalar, octave_float_complex_matrix)

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)

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);

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);

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)

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

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);

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 (smx, TYPE ## _, ) \
OCTAVE_INSTALL_SM_INT_ARITH_OPS (sxm, , 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 (xm, , TYPE ## _) \
OCTAVE_INSTALL_SM_INT_CMP_OPS (smx, 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 (xm, , TYPE ## _) \
OCTAVE_INSTALL_SM_INT_BOOL_OPS (smx, 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) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_complex_matrix, octave_complex_matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_float_complex_matrix, octave_float_complex_matrix)

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);

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);

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);

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 (ssx, TYPE ## _, ) \
OCTAVE_INSTALL_SS_INT_ARITH_OPS (sxs, , 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 (sx, TYPE ## _, ) \
OCTAVE_INSTALL_SS_INT_CMP_OPS (xs, , 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 (sx, TYPE ## _, ) \
OCTAVE_INSTALL_SS_INT_BOOL_OPS (xs, , 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) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_complex_scalar, octave_complex_matrix) \
INSTALL_ASSIGNCONV (octave_ ## TYPE ## _scalar, octave_float_complex_scalar, octave_float_complex_matrix)

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)

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)

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)

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:
OCTAVE_SM_INT_OPS (TYPE) \
OCTAVE_MS_INT_OPS (TYPE) \
OCTAVE_MM_INT_OPS (TYPE) \
OCTAVE_CONCAT_FN (TYPE) \
OCTAVE_RE_INT_ASSIGN_OPS (TYPE) \
OCTAVE_FLT_RE_INT_ASSIGN_OPS (TYPE) \
OCTAVE_CX_INT_ASSIGN_OPS (TYPE) \
OCTAVE_FLT_CX_INT_ASSIGN_OPS (TYPE) \
OCTAVE_INT_NULL_ASSIGN_OPS(TYPE)

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)

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 ## _)

Definition at line 1181 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 ()); \
}

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

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)

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)

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)

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_ASSIGNEQ_OPS (mme, 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_)

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, /=)

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)

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)

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_ASSIGNEQ_OPS (mse, TYPE ## _) \
OCTAVE_MS_INT_ASSIGN_OPS (mx, TYPE ## _, , ) \
OCTAVE_MS_INT_ASSIGN_OPS (mfx, TYPE ## _, float_, float_)

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)

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)

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 ()); \
}

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)

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)

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_)

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

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, !=)

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

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); \
}

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