Defines | Functions

op-dms-template.cc File Reference

#include "ops.h"
#include "gripes.h"
#include "xpow.h"
Include dependency graph for op-dms-template.cc:
This graph shows which files directly or indirectly include this file:

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 Documentation

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


Function Documentation

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.

template<class T >
static T gripe_if_zero ( 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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines