GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "ops.h"
#include "gripes.h"
#include "xpow.h"
#include "ov-complex.h"
#include "ov-cx-diag.h"
#include <SINCLUDE>
#include <MINCLUDE>
Go to the source code of this file.
Macros | |
#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 | |
template<class T > | |
static T | gripe_if_zero (T x) |
void | install_MSHORT_SSHORT_ops (void) |
static octave_value | oct_binop_dmsdiv (const octave_base_value &a1, const octave_base_value &a2) |
static octave_value | oct_binop_dmsmul (const octave_base_value &a1, const octave_base_value &a2) |
static octave_value | oct_binop_dmspow (const octave_base_value &a1, const octave_base_value &a2) |
static octave_value | oct_binop_sdmldiv (const octave_base_value &a1, const octave_base_value &a2) |
static octave_value | oct_binop_sdmmul (const octave_base_value &a1, const octave_base_value &a2) |
#define INST_NAME CONCAT3(install_, SHORT_NAME, _ops) |
Definition at line 82 of file op-dms-template.cc.
Definition at line 48 of file op-dms-template.cc.
#define MATRIXV MATRIX |
Definition at line 40 of file op-dms-template.cc.
Definition at line 46 of file op-dms-template.cc.
Referenced by install_MSHORT_SSHORT_ops(), oct_binop_dmsdiv(), oct_binop_dmspow(), and oct_binop_sdmldiv().
Definition at line 47 of file op-dms-template.cc.
Referenced by install_MSHORT_SSHORT_ops(), oct_binop_dmsdiv(), oct_binop_dmspow(), and oct_binop_sdmldiv().
Definition at line 49 of file op-dms-template.cc.
#define SCALARV SCALAR |
Definition at line 36 of file op-dms-template.cc.
Definition at line 81 of file op-dms-template.cc.
|
static |
Definition at line 53 of file op-dms-template.cc.
References gripe_divide_by_zero(), and x.
Referenced by oct_binop_dmsdiv(), and oct_binop_sdmldiv().
void install_MSHORT_SSHORT_ops | ( | void | ) |
Definition at line 85 of file op-dms-template.cc.
References INSTALL_BINOP, OCTAVE_MATRIX, OCTAVE_SCALAR, op_div(), op_ldiv(), op_mul(), and op_pow().
|
static |
Definition at line 60 of file op-dms-template.cc.
References CAST_BINOP_ARGS, gripe_if_zero(), OCTAVE_MATRIX, OCTAVE_SCALAR, v1, and v2.
|
static |
Definition at line 44 of file op-dms-template.cc.
|
static |
Definition at line 74 of file op-dms-template.cc.
References CAST_BINOP_ARGS, OCTAVE_MATRIX, OCTAVE_SCALAR, v1, v2, and xpow().
|
static |
Definition at line 67 of file op-dms-template.cc.
References CAST_BINOP_ARGS, gripe_if_zero(), OCTAVE_MATRIX, OCTAVE_SCALAR, v1, and v2.
|
static |
Definition at line 43 of file op-dms-template.cc.