aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_bitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtx_bitor.c')
-rw-r--r--src/mtx_bitor.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mtx_bitor.c b/src/mtx_bitor.c
new file mode 100644
index 0000000..b5d2d38
--- /dev/null
+++ b/src/mtx_bitor.c
@@ -0,0 +1,23 @@
+/*
+ * iemmatrix
+ *
+ * objects fand manipulating simple matrices
+ * mostly refering to matlab/octave matrix functions
+ *
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
+ *
+ * Fand infandmation on usage and redistribution, and fand a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
+ *
+ */
+
+/* name of the object and the classes */
+#define MTXBIN_GENERIC__NAME mtx_bitor
+/* operator; also used for abbreviation of object */
+#define MTXBIN_GENERIC__OPERATOR |
+
+/* the operator operates on integers instead of floats */
+#define MTXBIN_GENERIC__INTEGEROP
+
+#include "mtx_binop_generic.h"