#include "Array-util.h"
Go to the source code of this file.
Defines | |
#define | ASSIGNANYOPDECL(name) |
#define | ASSIGNOPDECL(name) |
#define | BINOP_NONCONFORMANT(msg) |
#define | BINOPDECL(name, a1, a2) |
#define | CAST_BINOP_ARGS(t1, t2) |
#define | CAST_CONV_ARG(t) t v = dynamic_cast<t> (a) |
#define | CAST_UNOP_ARG(t) t v = dynamic_cast<t> (a) |
#define | CATOP_NONCONFORMANT(msg) |
#define | CATOPDECL(name, a1, a2) |
#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 | CONVDECLX(name) |
#define | DEFASSIGNANYOP_FN(name, t1, f) |
#define | DEFASSIGNOP(name, t1, t2) ASSIGNOPDECL (name) |
#define | DEFASSIGNOP_FN(name, t1, t2, f) |
#define | DEFBINOP(name, t1, t2) BINOPDECL (name, a1, a2) |
#define | DEFBINOP_FN(name, t1, t2, f) |
#define | DEFBINOP_OP(name, t1, t2, op) |
#define | DEFBINOPX(name, t1, t2) BINOPDECL (name, , ) |
#define | DEFCATOP(name, t1, t2) CATOPDECL (name, a1, a2) |
#define | DEFCATOP_FN(name, t1, t2, f) |
#define | DEFCATOPX(name, t1, t2) CATOPDECL (name, , ) |
#define | DEFCMPLXCMPOP_OP(name, t1, t2, op) |
#define | DEFCONV(name, a_dummy, b_dummy) CONVDECL (name) |
#define | DEFCONVFN(name, tfrom, tto) DEFCONVFNX2 (name, tfrom, CONCAT2(tto, _matrix), CONCAT2(tto, _)) |
#define | DEFCONVFN2(name, tfrom, sm, tto) DEFCONVFNX2 (name, CONCAT3(tfrom, _, sm), CONCAT2(tto, _matrix), CONCAT2(tto, _)) |
#define | DEFCONVFNX(name, tfrom, ovtto, tto, e) |
#define | DEFCONVFNX2(name, tfrom, ovtto, e) |
#define | DEFDBLCONVFN(name, ovtfrom, e) |
#define | DEFFLTCONVFN(name, ovtfrom, e) |
#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 | DEFSTRDBLCONVFN(name, tfrom) DEFCONVFNX(name, tfrom, matrix, , char_) |
#define | DEFSTRFLTCONVFN(name, tfrom) DEFCONVFNX(name, tfrom, float_matrix, Float, char_) |
#define | DEFSTRINTCONVFN(name, tto) DEFCONVFNX(name, char_matrix_str, CONCAT2(tto, _matrix), tto, char_) |
#define | DEFUNOP(name, t) UNOPDECL (name, a) |
#define | DEFUNOP_FN(name, t, f) |
#define | DEFUNOP_OP(name, t, op) |
#define | DEFUNOPX(name, t) UNOPDECL (name, , ) |
#define | INSTALL_ASSIGNANYOP(op, t1, f) |
#define | INSTALL_ASSIGNCONV(t1, t2, tr) |
#define | INSTALL_ASSIGNOP(op, t1, t2, f) |
#define | INSTALL_BINOP(op, t1, t2, f) |
#define | INSTALL_CATOP(t1, t2, f) |
#define | INSTALL_CONVOP(t1, t2, f) |
#define | INSTALL_NCUNOP(op, t, f) |
#define | INSTALL_UNOP(op, t, f) |
#define | INSTALL_WIDENOP(t1, t2, f) |
#define | NULLASSIGNOPDECL(name) |
#define | UNOPDECL(name, a) |
Functions | |
void | install_ops (void) |
#define ASSIGNANYOPDECL | ( | name | ) |
static octave_value \ CONCAT2(oct_assignop_, name) (octave_base_value& a1, \ const octave_value_list& idx, \ const octave_value& a2)
#define ASSIGNOPDECL | ( | name | ) |
static octave_value \ CONCAT2(oct_assignop_, name) (octave_base_value& a1, \ const octave_value_list& idx, \ const octave_base_value& a2)
#define BINOP_NONCONFORMANT | ( | msg | ) |
gripe_nonconformant (msg, \ a1.rows (), a1.columns (), \ a2.rows (), a2.columns ()); \ return octave_value ()
#define BINOPDECL | ( | name, | ||
a1, | ||||
a2 | ||||
) |
static octave_value \ CONCAT2(oct_binop_, name) (const octave_base_value& a1, const octave_base_value& a2)
#define CAST_BINOP_ARGS | ( | t1, | ||
t2 | ||||
) |
#define CAST_CONV_ARG | ( | t | ) | t v = dynamic_cast<t> (a) |
Definition at line 83 of file ops.h.
Referenced by CONVDECL(), default_numeric_conversion_function(), default_numeric_demotion_function(), DEFCONV(), and DEFNDCATOP_FN().
#define CAST_UNOP_ARG | ( | t | ) | t v = dynamic_cast<t> (a) |
Definition at line 76 of file ops.h.
Referenced by DEFUNOP(), and UNOPDECL().
#define CATOP_NONCONFORMANT | ( | msg | ) |
gripe_nonconformant (msg, \ a1.rows (), a1.columns (), \ a2.rows (), a2.columns ()); \ return octave_value ()
#define CATOPDECL | ( | name, | ||
a1, | ||||
a2 | ||||
) |
static octave_value \ CONCAT2(oct_catop_, name) (octave_base_value& a1, const octave_base_value& a2, \ const Array<octave_idx_type>& ra_idx)
#define CONVDECL | ( | name | ) |
static octave_base_value * \ CONCAT2(oct_conv_, name) (const octave_base_value& a)
#define CONVDECLX | ( | name | ) |
static octave_base_value * \ CONCAT2(oct_conv_, name) (const octave_base_value&)
#define DEFASSIGNANYOP_FN | ( | name, | ||
t1, | ||||
f | ||||
) |
ASSIGNANYOPDECL (name) \ { \ CONCAT2(octave_, t1)& v1 = dynamic_cast<CONCAT2(octave_, t1)&> (a1); \ \ v1.f (idx, a2); \ return octave_value (); \ }
#define DEFASSIGNOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
f | ||||
) |
ASSIGNOPDECL (name) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ \ v1.f (idx, v2.CONCAT2(t1, _value) ()); \ return octave_value (); \ }
#define DEFBINOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
f | ||||
) |
BINOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (const CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value (f (v1.CONCAT2(t1, _value) (), v2.CONCAT2(t2, _value) ())); \ }
#define DEFBINOP_OP | ( | name, | ||
t1, | ||||
t2, | ||||
op | ||||
) |
BINOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (const CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value \ (v1.CONCAT2(t1, _value) () op v2.CONCAT2(t2, _value) ()); \ }
#define DEFCATOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
f | ||||
) |
CATOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value (v1.CONCAT2(t1, _value) () . f (v2.CONCAT2(t2, _value) (), ra_idx)); \ }
#define DEFCMPLXCMPOP_OP | ( | name, | ||
t1, | ||||
t2, | ||||
op | ||||
) |
BINOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (const CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ gripe_warn_complex_cmp (); \ return octave_value \ (v1.CONCAT2(t1, _value) () op v2.CONCAT2(t2, _value) ()); \ }
#define DEFCONVFN | ( | name, | ||
tfrom, | ||||
tto | ||||
) | DEFCONVFNX2 (name, tfrom, CONCAT2(tto, _matrix), CONCAT2(tto, _)) |
#define DEFCONVFN2 | ( | name, | ||
tfrom, | ||||
sm, | ||||
tto | ||||
) | DEFCONVFNX2 (name, CONCAT3(tfrom, _, sm), CONCAT2(tto, _matrix), CONCAT2(tto, _)) |
#define DEFCONVFNX | ( | name, | ||
tfrom, | ||||
ovtto, | ||||
tto, | ||||
e | ||||
) |
#define DEFCONVFNX2 | ( | name, | ||
tfrom, | ||||
ovtto, | ||||
e | ||||
) |
#define DEFDBLCONVFN | ( | name, | ||
ovtfrom, | ||||
e | ||||
) |
CONVDECL (name) \ { \ CAST_CONV_ARG (const CONCAT2(octave_, ovtfrom)&); \ \ return new octave_matrix (NDArray (v.CONCAT2(e, _value) ())); \ }
#define DEFFLTCONVFN | ( | name, | ||
ovtfrom, | ||||
e | ||||
) |
CONVDECL (name) \ { \ CAST_CONV_ARG (const CONCAT2(octave_, ovtfrom)&); \ \ return new octave_float_matrix (FloatNDArray (v.CONCAT2(e, _value) ())); \ }
#define DEFNCUNOP_METHOD | ( | name, | ||
t, | ||||
method | ||||
) |
static void \ CONCAT2(oct_unop_, name) (octave_base_value& a) \ { \ CAST_UNOP_ARG (CONCAT2(octave_, t)&); \ v.method (); \ }
#define DEFNDASSIGNOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
e, | ||||
f | ||||
) |
ASSIGNOPDECL (name) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ \ v1.f (idx, v2.CONCAT2(e, _value) ()); \ return octave_value (); \ }
#define DEFNDASSIGNOP_FNOP | ( | name, | ||
t1, | ||||
t2, | ||||
f, | ||||
fnop | ||||
) |
ASSIGNOPDECL (name) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ \ assert (idx.empty ()); \ fnop (v1.matrix_ref (), v2.CONCAT2(f, _value) ()); \ \ return octave_value (); \ }
#define DEFNDASSIGNOP_OP | ( | name, | ||
t1, | ||||
t2, | ||||
f, | ||||
op | ||||
) |
ASSIGNOPDECL (name) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ \ assert (idx.empty ()); \ v1.matrix_ref () op v2.CONCAT2(f, _value) (); \ \ return octave_value (); \ }
#define DEFNDBINOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
e1, | ||||
e2, | ||||
f | ||||
) |
BINOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (const CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value (f (v1.CONCAT2(e1, _value) (), v2.CONCAT2(e2, _value) ())); \ }
#define DEFNDBINOP_OP | ( | name, | ||
t1, | ||||
t2, | ||||
e1, | ||||
e2, | ||||
op | ||||
) |
BINOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (const CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value \ (v1.CONCAT2(e1, _value) () op v2.CONCAT2(e2, _value) ()); \ }
#define DEFNDCATOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
e1, | ||||
e2, | ||||
f | ||||
) |
CATOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value (v1.CONCAT2(e1, _value) () . f (v2.CONCAT2(e2, _value) (), ra_idx)); \ }
#define DEFNDCATOP_FN2 | ( | name, | ||
t1, | ||||
t2, | ||||
tc1, | ||||
tc2, | ||||
e1, | ||||
e2, | ||||
f | ||||
) |
CATOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value (tc1 (v1.CONCAT2(e1, _value) ()) . f (tc2 (v2.CONCAT2(e2, _value) ()), ra_idx)); \ }
#define DEFNDCHARCATOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
f | ||||
) |
CATOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ \ return octave_value (v1.char_array_value () . f (v2.char_array_value (), ra_idx), \ ((a1.is_sq_string () || a2.is_sq_string ()) \ ? '\'' : '"')); \ }
#define DEFNDCMPLXCMPOP_FN | ( | name, | ||
t1, | ||||
t2, | ||||
e1, | ||||
e2, | ||||
f | ||||
) |
BINOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (const CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ return octave_value (f (v1.CONCAT2(e1, _value) (), v2.CONCAT2(e2, _value) ())); \ }
#define DEFNDUNOP_FN | ( | name, | ||
t, | ||||
e, | ||||
f | ||||
) |
UNOPDECL (name, a) \ { \ CAST_UNOP_ARG (const CONCAT2(octave_, t)&); \ return octave_value (f (v.CONCAT2(e, _value) ())); \ }
#define DEFNDUNOP_OP | ( | name, | ||
t, | ||||
e, | ||||
op | ||||
) |
UNOPDECL (name, a) \ { \ CAST_UNOP_ARG (const CONCAT2(octave_, t)&); \ return octave_value (op v.CONCAT2(e, _value) ()); \ }
#define DEFNULLASSIGNOP_FN | ( | name, | ||
t, | ||||
f | ||||
) |
NULLASSIGNOPDECL (name) \ { \ CAST_UNOP_ARG (CONCAT2(octave_, t)&); \ \ v.f (idx); \ return octave_value (); \ }
#define DEFSCALARBOOLOP_OP | ( | name, | ||
t1, | ||||
t2, | ||||
op | ||||
) |
BINOPDECL (name, a1, a2) \ { \ CAST_BINOP_ARGS (const CONCAT2(octave_, t1)&, const CONCAT2(octave_, t2)&); \ if (xisnan (v1.CONCAT2(t1, _value) ()) || xisnan (v2.CONCAT2(t2, _value) ())) \ { \ gripe_nan_to_logical_conversion (); \ return octave_value (); \ } \ else \ return octave_value \ (v1.CONCAT2(t1, _value) () op v2.CONCAT2(t2, _value) ()); \ }
#define DEFSTRDBLCONVFN | ( | name, | ||
tfrom | ||||
) | DEFCONVFNX(name, tfrom, matrix, , char_) |
#define DEFSTRFLTCONVFN | ( | name, | ||
tfrom | ||||
) | DEFCONVFNX(name, tfrom, float_matrix, Float, char_) |
#define DEFSTRINTCONVFN | ( | name, | ||
tto | ||||
) | DEFCONVFNX(name, char_matrix_str, CONCAT2(tto, _matrix), tto, char_) |
#define DEFUNOP_FN | ( | name, | ||
t, | ||||
f | ||||
) |
UNOPDECL (name, a) \ { \ CAST_UNOP_ARG (const CONCAT2(octave_, t)&); \ return octave_value (f (v.CONCAT2(t, _value) ())); \ }
#define DEFUNOP_OP | ( | name, | ||
t, | ||||
op | ||||
) |
UNOPDECL (name, a) \ { \ CAST_UNOP_ARG (const CONCAT2(octave_, t)&); \ return octave_value (op v.CONCAT2(t, _value) ()); \ }
#define INSTALL_ASSIGNANYOP | ( | op, | ||
t1, | ||||
f | ||||
) |
octave_value_typeinfo::register_assignany_op \ (octave_value::op, t1::static_type_id (), CONCAT2(oct_assignop_, f));
Definition at line 60 of file ops.h.
Referenced by install_cell_ops().
#define INSTALL_ASSIGNCONV | ( | t1, | ||
t2, | ||||
tr | ||||
) |
octave_value_typeinfo::register_pref_assign_conv \ (t1::static_type_id (), t2::static_type_id (), tr::static_type_id ());
Definition at line 64 of file ops.h.
Referenced by DEFNDASSIGNOP_FN(), DEFNDCATOP_FN(), INST_NAME(), install_b_b_ops(), install_b_bm_ops(), install_b_sbm_ops(), install_base_type_conversions(), install_bm_sbm_ops(), install_cdm_cdm_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_fcdm_fcdm_ops(), install_fcs_fcs_ops(), install_fdm_fdm_ops(), install_fs_fs_ops(), install_m_cm_ops(), install_m_cs_ops(), install_m_scm_ops(), install_m_sm_ops(), install_pm_pm_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_sm_cm_ops(), install_sm_cs_ops(), and install_sm_scm_ops().
#define INSTALL_ASSIGNOP | ( | op, | ||
t1, | ||||
t2, | ||||
f | ||||
) |
octave_value_typeinfo::register_assign_op \ (octave_value::op, t1::static_type_id (), t2::static_type_id (), \ CONCAT2(oct_assignop_, f));
Definition at line 55 of file ops.h.
Referenced by DEFNDASSIGNOP_FN(), 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_sm_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().
#define INSTALL_BINOP | ( | op, | ||
t1, | ||||
t2, | ||||
f | ||||
) |
octave_value_typeinfo::register_binary_op \ (octave_value::op, t1::static_type_id (), t2::static_type_id (), \ CONCAT2(oct_binop_, f));
Definition at line 46 of file ops.h.
Referenced by DEFNDASSIGNOP_FN(), DEFNDCATOP_FN(), INST_NAME(), 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_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_fcn_ops(), install_fcs_fcs_ops(), install_fdm_fdm_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_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().
#define INSTALL_CATOP | ( | t1, | ||
t2, | ||||
f | ||||
) |
octave_value_typeinfo::register_cat_op \ (t1::static_type_id (), t2::static_type_id (), CONCAT2(oct_catop_, f));
Definition at line 51 of file ops.h.
Referenced by DEFNDASSIGNOP_FN(), DEFNDCATOP_FN(), 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_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_fcs_fcs_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().
#define INSTALL_CONVOP | ( | t1, | ||
t2, | ||||
f | ||||
) |
octave_value_typeinfo::register_type_conv_op \ (t1::static_type_id (), t2::static_type_id (), CONCAT2(oct_conv_, f));
Definition at line 68 of file ops.h.
Referenced by install_bm_bm_ops(), install_cdm_cdm_ops(), install_cm_cm_ops(), install_cs_cs_ops(), install_dm_dm_ops(), install_double_conv_ops(), install_fcdm_fcdm_ops(), install_fcs_fcs_ops(), install_fdm_fdm_ops(), install_float_conv_ops(), install_fs_fs_ops(), install_m_m_ops(), install_pm_pm_ops(), and install_sbm_sbm_ops().
#define INSTALL_NCUNOP | ( | op, | ||
t, | ||||
f | ||||
) |
octave_value_typeinfo::register_non_const_unary_op \ (octave_value::op, t::static_type_id (), CONCAT2(oct_unop_, f));
Definition at line 42 of file ops.h.
Referenced by install_bm_bm_ops(), install_cm_cm_ops(), install_cs_cs_ops(), install_fcs_fcs_ops(), install_fs_fs_ops(), install_m_m_ops(), install_s_s_ops(), and install_scm_scm_ops().
#define INSTALL_UNOP | ( | op, | ||
t, | ||||
f | ||||
) |
octave_value_typeinfo::register_unary_op \ (octave_value::op, t::static_type_id (), CONCAT2(oct_unop_, f));
Definition at line 38 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_fcs_fcs_ops(), install_fdm_fdm_ops(), install_fs_fs_ops(), install_m_m_ops(), install_pm_pm_ops(), install_pm_sm_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().
#define INSTALL_WIDENOP | ( | t1, | ||
t2, | ||||
f | ||||
) |
octave_value_typeinfo::register_widening_op \ (t1::static_type_id (), t2::static_type_id (), CONCAT2(oct_conv_, f));
Definition at line 72 of file ops.h.
Referenced by DEFNDASSIGNOP_FN(), install_b_bm_ops(), install_b_sbm_ops(), install_base_type_conversions(), install_bm_sbm_ops(), install_cdm_cdm_ops(), install_cs_cm_ops(), install_cs_scm_ops(), install_cs_sm_ops(), install_dm_dm_ops(), install_fcdm_fcdm_ops(), install_fdm_fdm_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().
#define NULLASSIGNOPDECL | ( | name | ) |
static octave_value \ CONCAT2(oct_assignop_, name) (octave_base_value& a, \ const octave_value_list& idx, \ const octave_base_value&)
#define UNOPDECL | ( | name, | ||
a | ||||
) |
static octave_value \ CONCAT2(oct_unop_, name) (const octave_base_value& a)
void install_ops | ( | void | ) |
Referenced by octave_main().