#include "ops.h"
#include "gripes.h"
#include "xpow.h"
Go to the source code of this file.
Defines | |
#define | INST_NAME CONCAT3(install_, SHORT_NAME, _ops) |
#define | MATRIX_VALUE CONCAT2(MATRIXV, _value) |
#define | MATRIXV MATRIX |
#define | OCTAVE_MATRIX CONCAT2(octave_, MATRIX) |
#define | OCTAVE_SCALAR CONCAT2(octave_, SCALAR) |
#define | SCALAR_VALUE CONCAT2(SCALARV, _value) |
#define | SCALARV SCALAR |
#define | SHORT_NAME CONCAT3(MSHORT, _, SSHORT) |
Functions | |
DEFBINOP (dmsdiv, MATRIX, SCALAR) | |
DEFBINOP (dmspow, MATRIX, SCALAR) | |
DEFBINOP (sdmldiv, SCALAR, MATRIX) | |
template<class T > | |
static T | gripe_if_zero (T x) |
void | INST_NAME (void) |
#define INST_NAME CONCAT3(install_, SHORT_NAME, _ops) |
Definition at line 82 of file op-dms-template.cc.
#define MATRIX_VALUE CONCAT2(MATRIXV, _value) |
Definition at line 48 of file op-dms-template.cc.
#define MATRIXV MATRIX |
Definition at line 40 of file op-dms-template.cc.
#define OCTAVE_MATRIX CONCAT2(octave_, MATRIX) |
Definition at line 46 of file op-dms-template.cc.
Referenced by DEFBINOP(), and INST_NAME().
#define OCTAVE_SCALAR CONCAT2(octave_, SCALAR) |
Definition at line 47 of file op-dms-template.cc.
Referenced by DEFBINOP(), and INST_NAME().
#define SCALAR_VALUE CONCAT2(SCALARV, _value) |
Definition at line 49 of file op-dms-template.cc.
#define SCALARV SCALAR |
Definition at line 36 of file op-dms-template.cc.
#define SHORT_NAME CONCAT3(MSHORT, _, SSHORT) |
Definition at line 81 of file op-dms-template.cc.
DEFBINOP | ( | dmsdiv | , | |
MATRIX | , | |||
SCALAR | ||||
) |
Definition at line 60 of file op-dms-template.cc.
References CAST_BINOP_ARGS(), gripe_if_zero(), OCTAVE_MATRIX, and OCTAVE_SCALAR.
DEFBINOP | ( | dmspow | , | |
MATRIX | , | |||
SCALAR | ||||
) |
Definition at line 74 of file op-dms-template.cc.
References CAST_BINOP_ARGS(), OCTAVE_MATRIX, OCTAVE_SCALAR, and xpow().
DEFBINOP | ( | sdmldiv | , | |
SCALAR | , | |||
MATRIX | ||||
) |
Definition at line 67 of file op-dms-template.cc.
References CAST_BINOP_ARGS(), gripe_if_zero(), OCTAVE_MATRIX, and OCTAVE_SCALAR.
static T gripe_if_zero | ( | T | x | ) | [static] |
Definition at line 53 of file op-dms-template.cc.
References gripe_divide_by_zero().
Referenced by DEFBINOP().
void INST_NAME | ( | void | ) |
Definition at line 85 of file op-dms-template.cc.
References INSTALL_BINOP, OCTAVE_MATRIX, and OCTAVE_SCALAR.