#include "oct-time.h"
#include "gripes.h"
#include "load-path.h"
#include "oct-obj.h"
#include "ov.h"
#include "ov-class.h"
#include "ov-typeinfo.h"
#include "ops.h"
#include "symtab.h"
#include "parse.h"
Go to the source code of this file.
Functions |
void | install_class_ops (void) |
static octave_value | oct_binop_and (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_eq (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_ge (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_gt (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_ldivide (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_le (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_lt (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_minus (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_mldivide (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_mpower (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_mrdivide (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_mtimes (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_ne (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_or (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_plus (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_power (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_rdivide (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_binop_times (const octave_value &a1, const octave_value &a2) |
static octave_value | oct_unop_ctranspose (const octave_value &a) |
static octave_value | oct_unop_not (const octave_value &a) |
static octave_value | oct_unop_transpose (const octave_value &a) |
static octave_value | oct_unop_uminus (const octave_value &a) |
static octave_value | oct_unop_uplus (const octave_value &a) |
Macro Definition Documentation
#define DEF_CLASS_BINOP |
( |
|
name | ) |
|
Value:static octave_value \
\
std::string dispatch_type \
if (meth.is_defined ()) \
\
args(0) = a1; \
retval = tmp(0); \
error (
"%s method not defined for %s class", \
#name, dispatch_type.c_str ()); \
\
return retval; \
}
Definition at line 77 of file op-class.cc.
#define DEF_CLASS_UNOP |
( |
|
name | ) |
|
Value:static octave_value \
\
if (meth.is_defined ()) \
\
args(0) = a; \
retval = tmp(0); \
error (
"%s method not defined for %s class", \
#name, class_name.c_str ()); \
\
return retval; \
}
Definition at line 41 of file op-class.cc.
#define INSTALL_CLASS_BINOP |
( |
|
op, |
|
|
|
f |
|
) |
| |
#define INSTALL_CLASS_UNOP |
( |
|
op, |
|
|
|
f |
|
) |
| |
Function Documentation
Definition at line 135 of file op-class.cc.
References INSTALL_CLASS_BINOP, INSTALL_CLASS_UNOP, op_add(), op_div(), op_el_and(), op_el_div(), op_el_ldiv(), op_el_mul(), op_el_or(), op_el_pow(), op_eq(), op_ge(), op_gt(), op_hermitian(), op_ldiv(), op_le(), op_lt(), op_mul(), op_ne(), op_not(), op_pow(), op_sub(), op_transpose(), op_uminus(), op_uplus(), and transpose().
Referenced by install_ops().