GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ops.h File Reference
#include "octave-config.h"
#include "Array-util.h"
Include dependency graph for ops.h:

Go to the source code of this file.

Namespaces

 octave
 

Macros

#define CONCAT2(x, y)   CONCAT2X (x, y)
 
#define CONCAT2X(x, y)   x ## y
 
#define CONCAT3(x, y, z)   CONCAT3X (x, y, z)
 
#define CONCAT3X(x, y, z)   x ## y ## z
 
#define CONVDECL(name)
 
#define DEFASSIGNANYOP_FN(name, t1, f)
 
#define DEFASSIGNOP(name, t1, t2)
 
#define DEFASSIGNOP_FN(name, t1, t2, f)
 
#define DEFBINOP(name, t1, t2)
 
#define DEFBINOP_FN(name, t1, t2, f)
 
#define DEFBINOP_OP(name, t1, t2, op)
 
#define DEFBINOPX(name, t1, t2)
 
#define DEFCATOP(name, t1, t2)
 
#define DEFCATOP_FN(name, t1, t2, f)
 
#define DEFCATOPX(name, t1, t2)
 
#define DEFCMPLXCMPOP_OP(name, t1, t2, op)
 
#define DEFCONV(name, a_dummy, b_dummy)   CONVDECL (name)
 
#define DEFNCUNOP_METHOD(name, t, method)
 
#define DEFNDASSIGNOP_FN(name, t1, t2, e, f)
 
#define DEFNDASSIGNOP_FNOP(name, t1, t2, f, fnop)
 
#define DEFNDASSIGNOP_OP(name, t1, t2, f, op)
 
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
 
#define DEFNDBINOP_OP(name, t1, t2, e1, e2, op)
 
#define DEFNDCATOP_FN(name, t1, t2, e1, e2, f)
 
#define DEFNDCATOP_FN2(name, t1, t2, tc1, tc2, e1, e2, f)
 
#define DEFNDCHARCATOP_FN(name, t1, t2, f)
 
#define DEFNDCMPLXCMPOP_FN(name, t1, t2, e1, e2, f)
 
#define DEFNDUNOP_FN(name, t, e, f)
 
#define DEFNDUNOP_OP(name, t, e, op)
 
#define DEFNULLASSIGNOP_FN(name, t, f)
 
#define DEFSCALARBOOLOP_OP(name, t1, t2, op)
 
#define DEFUNOP(name, t)
 
#define DEFUNOP_FN(name, t, f)
 
#define DEFUNOP_OP(name, t, op)
 
#define DEFUNOPX(name, t)
 
#define INSTALL_ASSIGNANYOP(op, t1, f)
 
#define INSTALL_ASSIGNANYOP_TI(ti, op, t1, f)
 
#define INSTALL_ASSIGNCONV(t1, t2, tr)
 
#define INSTALL_ASSIGNCONV_TI(ti, t1, t2, tr)
 
#define INSTALL_ASSIGNOP(op, t1, t2, f)
 
#define INSTALL_ASSIGNOP_TI(ti, op, t1, t2, f)
 
#define INSTALL_BINOP(op, t1, t2, f)
 
#define INSTALL_BINOP_TI(ti, op, t1, t2, f)
 
#define INSTALL_CATOP(t1, t2, f)
 
#define INSTALL_CATOP_TI(ti, t1, t2, f)
 
#define INSTALL_NCUNOP(op, t, f)
 
#define INSTALL_NCUNOP_TI(ti, op, t, f)
 
#define INSTALL_UNOP(op, t, f)
 
#define INSTALL_UNOP_TI(ti, op, t, f)
 
#define INSTALL_WIDENOP(t1, t2, f)
 
#define INSTALL_WIDENOP_TI(ti, t1, t2, f)
 

Functions

void install_ops (octave::type_info &)
 

Macro Definition Documentation

◆ CONCAT2

#define CONCAT2 (   x,
  y 
)    CONCAT2X (x, y)

Definition at line 38 of file ops.h.

◆ CONCAT2X

#define CONCAT2X (   x,
  y 
)    x ## y

Definition at line 37 of file ops.h.

◆ CONCAT3

#define CONCAT3 (   x,
  y,
 
)    CONCAT3X (x, y, z)

Definition at line 41 of file ops.h.

◆ CONCAT3X

#define CONCAT3X (   x,
  y,
 
)    x ## y ## z

Definition at line 40 of file ops.h.

◆ CONVDECL

#define CONVDECL (   name)
Value:
CONCAT2 (oct_conv_, name) (const octave_base_value& a)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647

Definition at line 202 of file ops.h.

◆ DEFASSIGNANYOP_FN

#define DEFASSIGNANYOP_FN (   name,
  t1,
  f 
)
Value:
CONCAT2 (oct_assignop_, name) (octave_base_value& a1, \
const octave_value_list& idx, \
const octave_value& a2) \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
\
v1.f (idx, a2); \
return octave_value (); \
}
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 190 of file ops.h.

◆ DEFASSIGNOP

#define DEFASSIGNOP (   name,
  t1,
  t2 
)
Value:
CONCAT2 (oct_assignop_, name) (octave_base_value& a1, \
const octave_value_list& idx, \
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 115 of file ops.h.

◆ DEFASSIGNOP_FN

#define DEFASSIGNOP_FN (   name,
  t1,
  t2,
  f 
)
Value:
CONCAT2 (oct_assignop_, name) (octave_base_value& a1, \
const octave_value_list& idx, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
v1.f (idx, v2.CONCAT2 (t1, _value) ()); \
return octave_value (); \
}
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 121 of file ops.h.

◆ DEFBINOP

#define DEFBINOP (   name,
  t1,
  t2 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 264 of file ops.h.

◆ DEFBINOP_FN

#define DEFBINOP_FN (   name,
  t1,
  t2,
  f 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
{ \
const CONCAT2 (octave_, t1)& v1 = dynamic_cast<const CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value (f (v1.CONCAT2 (t1, _value) (), v2.CONCAT2 (t2, _value) ())); \
}
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 324 of file ops.h.

◆ DEFBINOP_OP

#define DEFBINOP_OP (   name,
  t1,
  t2,
  op 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
{ \
const CONCAT2 (octave_, t1)& v1 = dynamic_cast<const CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value \
(v1.CONCAT2 (t1, _value) () op v2.CONCAT2 (t2, _value) ()); \
}
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 269 of file ops.h.

◆ DEFBINOPX

#define DEFBINOPX (   name,
  t1,
  t2 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value&, \
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 259 of file ops.h.

◆ DEFCATOP

#define DEFCATOP (   name,
  t1,
  t2 
)
Value:
CONCAT2 (oct_catop_, name) (octave_base_value& a1, \
const octave_base_value const Array< octave_idx_type > & ra_idx
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 362 of file ops.h.

◆ DEFCATOP_FN

#define DEFCATOP_FN (   name,
  t1,
  t2,
  f 
)
Value:
CONCAT2 (oct_catop_, name) (octave_base_value& a1, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value (v1.CONCAT2 (t1, _value) () . f (v2.CONCAT2 (t2, _value) (), ra_idx)); \
}
const octave_base_value const Array< octave_idx_type > & ra_idx
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 370 of file ops.h.

◆ DEFCATOPX

#define DEFCATOPX (   name,
  t1,
  t2 
)
Value:
const octave_base_value const Array< octave_idx_type > & ra_idx
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 357 of file ops.h.

◆ DEFCMPLXCMPOP_OP

#define DEFCMPLXCMPOP_OP (   name,
  t1,
  t2,
  op 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
{ \
const CONCAT2 (octave_, t1)& v1 = dynamic_cast<const CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value \
(v1.CONCAT2 (t1, _value) () op v2.CONCAT2 (t2, _value) ()); \
}
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
void warn_complex_cmp(void)
Definition: errwarn.cc:299
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 281 of file ops.h.

◆ DEFCONV

#define DEFCONV (   name,
  a_dummy,
  b_dummy 
)    CONVDECL (name)

Definition at line 206 of file ops.h.

◆ DEFNCUNOP_METHOD

#define DEFNCUNOP_METHOD (   name,
  t,
  method 
)
Value:
static void \
CONCAT2 (oct_unop_, name) (octave_base_value& a) \
{ \
CONCAT2 (octave_, t)& v = dynamic_cast<CONCAT2 (octave_, t)&> (a); \
v.method (); \
}
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
Definition: ov-usr-fcn.cc:997
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 251 of file ops.h.

◆ DEFNDASSIGNOP_FN

#define DEFNDASSIGNOP_FN (   name,
  t1,
  t2,
  e,
  f 
)
Value:
CONCAT2 (oct_assignop_, name) (octave_base_value& a1, \
const octave_value_list& idx, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
v1.f (idx, v2.CONCAT2 (e, _value) ()); \
return octave_value (); \
}
i e
Definition: data.cc:2591
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 146 of file ops.h.

◆ DEFNDASSIGNOP_FNOP

#define DEFNDASSIGNOP_FNOP (   name,
  t1,
  t2,
  f,
  fnop 
)
Value:
CONCAT2 (oct_assignop_, name) (octave_base_value& a1, \
const octave_value_list& idx, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
assert (idx.empty ()); \
fnop (v1.matrix_ref (), v2.CONCAT2 (f, _value) ()); \
\
return octave_value (); \
}
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 175 of file ops.h.

◆ DEFNDASSIGNOP_OP

#define DEFNDASSIGNOP_OP (   name,
  t1,
  t2,
  f,
  op 
)
Value:
CONCAT2 (oct_assignop_, name) (octave_base_value& a1, \
const octave_value_list& idx, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
assert (idx.empty ()); \
v1.matrix_ref () op v2.CONCAT2 (f, _value) (); \
\
return octave_value (); \
}
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 160 of file ops.h.

◆ DEFNDBINOP_FN

#define DEFNDBINOP_FN (   name,
  t1,
  t2,
  e1,
  e2,
  f 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
{ \
const CONCAT2 (octave_, t1)& v1 = dynamic_cast<const CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value (f (v1.CONCAT2 (e1, _value) (), v2.CONCAT2 (e2, _value) ())); \
}
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 335 of file ops.h.

◆ DEFNDBINOP_OP

#define DEFNDBINOP_OP (   name,
  t1,
  t2,
  e1,
  e2,
  op 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
{ \
const CONCAT2 (octave_, t1)& v1 = dynamic_cast<const CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value \
(v1.CONCAT2 (e1, _value) () op v2.CONCAT2 (e2, _value) ()); \
}
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 310 of file ops.h.

◆ DEFNDCATOP_FN

#define DEFNDCATOP_FN (   name,
  t1,
  t2,
  e1,
  e2,
  f 
)
Value:
CONCAT2 (oct_catop_, name) (octave_base_value& a1, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value (v1.CONCAT2 (e1, _value) () . f (v2.CONCAT2 (e2, _value) (), ra_idx)); \
}
const octave_base_value const Array< octave_idx_type > & ra_idx
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 382 of file ops.h.

◆ DEFNDCATOP_FN2

#define DEFNDCATOP_FN2 (   name,
  t1,
  t2,
  tc1,
  tc2,
  e1,
  e2,
  f 
)
Value:
CONCAT2 (oct_catop_, name) (octave_base_value& a1, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value (tc1 (v1.CONCAT2 (e1, _value) ()) . f (tc2 (v2.CONCAT2 (e2, _value) ()), ra_idx)); \
}
const octave_base_value const Array< octave_idx_type > & ra_idx
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 411 of file ops.h.

◆ DEFNDCHARCATOP_FN

#define DEFNDCHARCATOP_FN (   name,
  t1,
  t2,
  f 
)
Value:
CONCAT2 (oct_catop_, name) (octave_base_value& a1, \
{ \
CONCAT2 (octave_, t1)& v1 = dynamic_cast<CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value (v1.char_array_value () . f (v2.char_array_value (), ra_idx), \
((a1.is_sq_string () || a2.is_sq_string ()) \
? '\'' : '"')); \
}
const octave_base_value const Array< octave_idx_type > & ra_idx
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
virtual bool is_sq_string(void) const
Definition: ov-base.h:387
#define CONCAT2(x, y)
Definition: ops.h:38
charNDArray char_array_value(bool=false) const
Definition: ov-ch-mat.h:143

Definition at line 394 of file ops.h.

◆ DEFNDCMPLXCMPOP_FN

#define DEFNDCMPLXCMPOP_FN (   name,
  t1,
  t2,
  e1,
  e2,
  f 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
{ \
const CONCAT2 (octave_, t1)& v1 = dynamic_cast<const CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
\
return octave_value (f (v1.CONCAT2 (e1, _value) (), v2.CONCAT2 (e2, _value) ())); \
}
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 346 of file ops.h.

◆ DEFNDUNOP_FN

#define DEFNDUNOP_FN (   name,
  t,
  e,
  f 
)
Value:
CONCAT2 (oct_unop_, name) (const octave_base_value& a) \
{ \
const CONCAT2 (octave_, t)& v = dynamic_cast<const CONCAT2 (octave_, t)&> (a); \
return octave_value (f (v.CONCAT2 (e, _value) ())); \
}
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
Definition: ov-usr-fcn.cc:997
i e
Definition: data.cc:2591
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 243 of file ops.h.

◆ DEFNDUNOP_OP

#define DEFNDUNOP_OP (   name,
  t,
  e,
  op 
)
Value:
CONCAT2 (oct_unop_, name) (const octave_base_value& a) \
{ \
const CONCAT2 (octave_, t)& v = dynamic_cast<const CONCAT2 (octave_, t)&> (a); \
return octave_value (op v.CONCAT2 (e, _value) ()); \
}
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
Definition: ov-usr-fcn.cc:997
i e
Definition: data.cc:2591
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 225 of file ops.h.

◆ DEFNULLASSIGNOP_FN

#define DEFNULLASSIGNOP_FN (   name,
  t,
  f 
)
Value:
CONCAT2 (oct_assignop_, name) (octave_base_value& a, \
const octave_value_list& idx, \
{ \
CONCAT2 (octave_, t)& v = dynamic_cast<CONCAT2 (octave_, t)&> (a); \
\
v.f (idx); \
return octave_value (); \
}
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
Definition: ov-usr-fcn.cc:997
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 134 of file ops.h.

◆ DEFSCALARBOOLOP_OP

#define DEFSCALARBOOLOP_OP (   name,
  t1,
  t2,
  op 
)
Value:
CONCAT2 (oct_binop_, name) (const octave_base_value& a1, \
{ \
const CONCAT2 (octave_, t1)& v1 = dynamic_cast<const CONCAT2 (octave_, t1)&> (a1); \
const CONCAT2 (octave_, t2)& v2 = dynamic_cast<const CONCAT2 (octave_, t2)&> (a2); \
if (octave::math::isnan (v1.CONCAT2 (t1, _value) ()) || octave::math::isnan (v2.CONCAT2 (t2, _value) ())) \
\
return octave_value \
(v1.CONCAT2 (t1, _value) () op v2.CONCAT2 (t2, _value) ()); \
}
bool isnan(bool)
Definition: lo-mappers.h:187
void err_nan_to_logical_conversion(void)
const octave_base_value & a2
nd deftypefn *std::string name
Definition: sysdep.cc:647
if(nargin< 2) print_usage()
Definition: cellfun.cc:407
const octave_char_matrix & v2
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 295 of file ops.h.

◆ DEFUNOP

#define DEFUNOP (   name,
  t 
)
Value:
CONCAT2 (oct_unop_, name) (const octave_base_value& a)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 213 of file ops.h.

◆ DEFUNOP_FN

#define DEFUNOP_FN (   name,
  t,
  f 
)
Value:
CONCAT2 (oct_unop_, name) (const octave_base_value& a) \
{ \
const CONCAT2 (octave_, t)& v = dynamic_cast<const CONCAT2 (octave_, t)&> (a); \
return octave_value (f (v.CONCAT2 (t, _value) ())); \
}
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
Definition: ov-usr-fcn.cc:997
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 235 of file ops.h.

◆ DEFUNOP_OP

#define DEFUNOP_OP (   name,
  t,
  op 
)
Value:
CONCAT2 (oct_unop_, name) (const octave_base_value& a) \
{ \
const CONCAT2 (octave_, t)& v = dynamic_cast<const CONCAT2 (octave_, t)&> (a); \
return octave_value (op v.CONCAT2 (t, _value) ()); \
}
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
Definition: ov-usr-fcn.cc:997
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition: cellfun.cc:400
nd deftypefn *std::string name
Definition: sysdep.cc:647
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 217 of file ops.h.

◆ DEFUNOPX

#define DEFUNOPX (   name,
  t 
)
Value:
CONCAT2 (oct_unop_, name) (const octave_base_value&)
nd deftypefn *std::string name
Definition: sysdep.cc:647
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 209 of file ops.h.

◆ INSTALL_ASSIGNANYOP

#define INSTALL_ASSIGNANYOP (   op,
  t1,
  f 
)
Value:
(octave_value::op, t1::static_type_id (), CONCAT2 (oct_assignop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
bool register_assignany_op(octave_value::assign_op op, int t_lhs, assignany_op_fcn f)
Definition: ov-typeinfo.cc:851
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 103 of file ops.h.

◆ INSTALL_ASSIGNANYOP_TI

#define INSTALL_ASSIGNANYOP_TI (   ti,
  op,
  t1,
  f 
)
Value:
ti.install_assignany_op \
(octave_value::op, t1::static_type_id (), CONCAT2 (oct_assignop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 67 of file ops.h.

Referenced by install_cell_ops().

◆ INSTALL_ASSIGNCONV

#define INSTALL_ASSIGNCONV (   t1,
  t2,
  tr 
)
Value:
(t1::static_type_id (), t2::static_type_id (), tr::static_type_id ());
bool register_pref_assign_conv(int t_lhs, int t_rhs, int t_result)
Definition: ov-typeinfo.cc:860

Definition at line 107 of file ops.h.

◆ INSTALL_ASSIGNCONV_TI

◆ INSTALL_ASSIGNOP

#define INSTALL_ASSIGNOP (   op,
  t1,
  t2,
  f 
)
Value:
(octave_value::op, t1::static_type_id (), t2::static_type_id (), \
CONCAT2 (oct_assignop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
bool register_assign_op(octave_value::assign_op op, int t_lhs, int t_rhs, assign_op_fcn f)
Definition: ov-typeinfo.cc:842

Definition at line 98 of file ops.h.

◆ INSTALL_ASSIGNOP_TI

#define INSTALL_ASSIGNOP_TI (   ti,
  op,
  t1,
  t2,
  f 
)
Value:
ti.install_assign_op \
(octave_value::op, t1::static_type_id (), t2::static_type_id (), \
CONCAT2 (oct_assignop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f

Definition at line 62 of file ops.h.

Referenced by install_bm_b_ops(), install_bm_bm_ops(), install_bm_sbm_ops(), install_cell_ops(), install_cm_cm_ops(), install_cm_cs_ops(), install_cm_m_ops(), install_cm_s_ops(), install_cm_scm_ops(), install_cm_sm_ops(), install_fcm_fcm_ops(), install_fcm_fcs_ops(), install_fcm_fm_ops(), install_fcm_fs_ops(), install_fm_fm_ops(), install_fm_fs_ops(), install_m_m_ops(), install_m_s_ops(), install_m_sm_ops(), install_sbm_b_ops(), install_sbm_bm_ops(), install_sbm_sbm_ops(), install_scm_cm_ops(), install_scm_cs_ops(), install_scm_m_ops(), install_scm_s_ops(), install_scm_scm_ops(), install_scm_sm_ops(), install_sm_m_ops(), install_sm_s_ops(), install_sm_sm_ops(), install_str_m_ops(), install_str_s_ops(), and install_str_str_ops().

◆ INSTALL_BINOP

#define INSTALL_BINOP (   op,
  t1,
  t2,
  f 
)
Value:
(octave_value::op, t1::static_type_id (), t2::static_type_id (), \
CONCAT2 (oct_binop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
bool register_binary_op(octave_value::binary_op op, int t1, int t2, binary_op_fcn f)
Definition: ov-typeinfo.cc:807

Definition at line 89 of file ops.h.

◆ INSTALL_BINOP_TI

#define INSTALL_BINOP_TI (   ti,
  op,
  t1,
  t2,
  f 
)
Value:
ti.install_binary_op \
(octave_value::op, t1::static_type_id (), t2::static_type_id (), \
CONCAT2 (oct_binop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f

Definition at line 53 of file ops.h.

Referenced by install_b_b_ops(), install_b_bm_ops(), install_b_sbm_ops(), install_bm_b_ops(), install_bm_bm_ops(), install_bm_sbm_ops(), install_cdm_cdm_ops(), install_cm_cm_ops(), install_cm_cs_ops(), install_cm_m_ops(), install_cm_s_ops(), install_cm_scm_ops(), install_cm_sm_ops(), install_cs_cm_ops(), install_cs_cs_ops(), install_cs_m_ops(), install_cs_s_ops(), install_cs_scm_ops(), install_cs_sm_ops(), install_dm_dm_ops(), install_dm_scm_ops(), install_dm_sm_ops(), install_fcdm_fcdm_ops(), install_fcm_fcm_ops(), install_fcm_fcs_ops(), install_fcm_fm_ops(), install_fcm_fs_ops(), install_fcn_ops(), install_fcs_fcm_ops(), install_fcs_fcs_ops(), install_fcs_fm_ops(), install_fcs_fs_ops(), install_fdm_fdm_ops(), install_fm_fcm_ops(), install_fm_fcs_ops(), install_fm_fm_ops(), install_fm_fs_ops(), install_fs_fcm_ops(), install_fs_fcs_ops(), install_fs_fm_ops(), install_fs_fs_ops(), install_LSHORT_RSHORT_ops(), install_m_cm_ops(), install_m_cs_ops(), install_m_m_ops(), install_m_s_ops(), install_m_scm_ops(), install_m_sm_ops(), install_MSHORT_SSHORT_ops(), install_pm_pm_ops(), install_pm_scm_ops(), install_pm_sm_ops(), install_range_ops(), install_s_cm_ops(), install_s_cs_ops(), install_s_m_ops(), install_s_s_ops(), install_s_scm_ops(), install_s_sm_ops(), install_sbm_b_ops(), install_sbm_bm_ops(), install_sbm_sbm_ops(), install_scm_cm_ops(), install_scm_cs_ops(), install_scm_m_ops(), install_scm_s_ops(), install_scm_scm_ops(), install_scm_sm_ops(), install_sm_cm_ops(), install_sm_cs_ops(), install_sm_m_ops(), install_sm_s_ops(), install_sm_scm_ops(), install_sm_sm_ops(), and install_str_str_ops().

◆ INSTALL_CATOP

#define INSTALL_CATOP (   t1,
  t2,
  f 
)
Value:
(t1::static_type_id (), t2::static_type_id (), CONCAT2 (oct_catop_, f));
bool register_cat_op(int t1, int t2, cat_op_fcn f)
Definition: ov-typeinfo.cc:834
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 94 of file ops.h.

◆ INSTALL_CATOP_TI

#define INSTALL_CATOP_TI (   ti,
  t1,
  t2,
  f 
)
Value:
ti.install_cat_op \
(t1::static_type_id (), t2::static_type_id (), CONCAT2 (oct_catop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 58 of file ops.h.

Referenced by install_b_b_ops(), install_b_bm_ops(), install_b_sbm_ops(), install_bm_b_ops(), install_bm_bm_ops(), install_bm_sbm_ops(), install_cell_ops(), install_chm_ops(), install_cm_cm_ops(), install_cm_cs_ops(), install_cm_m_ops(), install_cm_s_ops(), install_cm_scm_ops(), install_cm_sm_ops(), install_cs_cm_ops(), install_cs_cs_ops(), install_cs_m_ops(), install_cs_s_ops(), install_cs_scm_ops(), install_cs_sm_ops(), install_fcm_fcm_ops(), install_fcm_fcs_ops(), install_fcm_fm_ops(), install_fcm_fs_ops(), install_fcs_fcm_ops(), install_fcs_fcs_ops(), install_fcs_fm_ops(), install_fcs_fs_ops(), install_fm_fcm_ops(), install_fm_fcs_ops(), install_fm_fm_ops(), install_fm_fs_ops(), install_fs_fcm_ops(), install_fs_fcs_ops(), install_fs_fm_ops(), install_fs_fs_ops(), install_m_cm_ops(), install_m_cs_ops(), install_m_m_ops(), install_m_s_ops(), install_m_scm_ops(), install_m_sm_ops(), install_range_ops(), install_s_cm_ops(), install_s_cs_ops(), install_s_m_ops(), install_s_s_ops(), install_s_scm_ops(), install_s_sm_ops(), install_sbm_b_ops(), install_sbm_bm_ops(), install_sbm_sbm_ops(), install_scm_cm_ops(), install_scm_cs_ops(), install_scm_m_ops(), install_scm_s_ops(), install_scm_scm_ops(), install_scm_sm_ops(), install_sm_cm_ops(), install_sm_cs_ops(), install_sm_m_ops(), install_sm_s_ops(), install_sm_scm_ops(), install_sm_sm_ops(), install_str_m_ops(), install_str_s_ops(), install_str_str_ops(), and install_struct_ops().

◆ INSTALL_NCUNOP

#define INSTALL_NCUNOP (   op,
  t,
  f 
)
Value:
(octave_value::op, t::static_type_id (), CONCAT2 (oct_unop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
bool register_non_const_unary_op(octave_value::unary_op op, int t, non_const_unary_op_fcn f)
Definition: ov-typeinfo.cc:789
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 85 of file ops.h.

◆ INSTALL_NCUNOP_TI

#define INSTALL_NCUNOP_TI (   ti,
  op,
  t,
  f 
)
Value:
ti.install_non_const_unary_op \
(octave_value::op, t::static_type_id (), CONCAT2 (oct_unop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 49 of file ops.h.

Referenced by install_bm_bm_ops(), install_cm_cm_ops(), install_cs_cs_ops(), install_fcm_fcm_ops(), install_fcs_fcs_ops(), install_fm_fm_ops(), install_fs_fs_ops(), install_m_m_ops(), install_s_s_ops(), and install_scm_scm_ops().

◆ INSTALL_UNOP

#define INSTALL_UNOP (   op,
  t,
  f 
)
Value:
(octave_value::op, t::static_type_id (), CONCAT2 (oct_unop_, f));
bool register_unary_op(octave_value::unary_op op, int t, unary_op_fcn f)
Definition: ov-typeinfo.cc:780
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 81 of file ops.h.

◆ INSTALL_UNOP_TI

#define INSTALL_UNOP_TI (   ti,
  op,
  t,
  f 
)
Value:
ti.install_unary_op \
(octave_value::op, t::static_type_id (), CONCAT2 (oct_unop_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 45 of file ops.h.

Referenced by install_b_b_ops(), install_bm_bm_ops(), install_cdm_cdm_ops(), install_cell_ops(), install_chm_ops(), install_cm_cm_ops(), install_cs_cs_ops(), install_dm_dm_ops(), install_fcdm_fcdm_ops(), install_fcm_fcm_ops(), install_fcs_fcs_ops(), install_fdm_fdm_ops(), install_fm_fm_ops(), install_fs_fs_ops(), install_m_m_ops(), install_pm_pm_ops(), install_range_ops(), install_s_s_ops(), install_sbm_sbm_ops(), install_scm_scm_ops(), install_sm_sm_ops(), install_str_str_ops(), and install_struct_ops().

◆ INSTALL_WIDENOP

#define INSTALL_WIDENOP (   t1,
  t2,
  f 
)
Value:
(t1::static_type_id (), t2::static_type_id (), CONCAT2 (oct_conv_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
bool register_widening_op(int t, int t_result, octave_base_value::type_conv_fcn f)
Definition: ov-typeinfo.cc:868
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 111 of file ops.h.

◆ INSTALL_WIDENOP_TI

#define INSTALL_WIDENOP_TI (   ti,
  t1,
  t2,
  f 
)
Value:
ti.install_widening_op \
(t1::static_type_id (), t2::static_type_id (), CONCAT2 (oct_conv_, f));
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
#define CONCAT2(x, y)
Definition: ops.h:38

Definition at line 75 of file ops.h.

Referenced by install_b_bm_ops(), install_b_sbm_ops(), install_base_type_conversions(), install_bm_sbm_ops(), install_cdm_cdm_ops(), install_cm_scm_ops(), install_cs_cm_ops(), install_cs_scm_ops(), install_cs_sm_ops(), install_dm_dm_ops(), install_fcdm_fcdm_ops(), install_fcs_fcm_ops(), install_fdm_fdm_ops(), install_fm_fcm_ops(), install_fs_fcm_ops(), install_fs_fm_ops(), install_m_cm_ops(), install_m_scm_ops(), install_m_sm_ops(), install_pm_pm_ops(), install_range_ops(), install_s_cm_ops(), install_s_m_ops(), install_s_scm_ops(), install_s_sm_ops(), install_sm_cm_ops(), and install_sm_scm_ops().

Function Documentation

◆ install_ops()

void install_ops ( octave::type_info )