GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mx-fm-fcm.cc
Go to the documentation of this file.
1 // DO NOT EDIT -- generated by mk-ops.awk
2 #if defined (HAVE_CONFIG_H)
3 # include "config.h"
4 #endif
5 #include "Array-util.h"
6 #include "mx-fm-fcm.h"
7 #include "mx-op-defs.h"
8 #include "boolMatrix.h"
9 #include "boolNDArray.h"
10 #include "fCMatrix.h"
11 #include "fMatrix.h"
12 
15 {
16  return do_mm_binary_op<FloatComplexMatrix::element_type, FloatMatrix::element_type, FloatComplexMatrix::element_type> (m1, m2, mx_inline_add, mx_inline_add, mx_inline_add, "operator +");
17 }
18 
21 {
22  return do_mm_binary_op<FloatComplexMatrix::element_type, FloatMatrix::element_type, FloatComplexMatrix::element_type> (m1, m2, mx_inline_sub, mx_inline_sub, mx_inline_sub, "operator -");
23 }
24 
26 product (const FloatMatrix& m1, const FloatComplexMatrix& m2)
27 {
28  return do_mm_binary_op<FloatComplexMatrix::element_type, FloatMatrix::element_type, FloatComplexMatrix::element_type> (m1, m2, mx_inline_mul, mx_inline_mul, mx_inline_mul, "product");
29 }
30 
32 quotient (const FloatMatrix& m1, const FloatComplexMatrix& m2)
33 {
34  return do_mm_binary_op<FloatComplexMatrix::element_type, FloatMatrix::element_type, FloatComplexMatrix::element_type> (m1, m2, mx_inline_div, mx_inline_div, mx_inline_div, "quotient");
35 }
FloatComplexMatrix quotient(const FloatMatrix &m1, const FloatComplexMatrix &m2)
Definition: mx-fm-fcm.cc:32
FloatComplexMatrix operator+(const FloatMatrix &m1, const FloatComplexMatrix &m2)
Definition: mx-fm-fcm.cc:14
FloatComplexMatrix product(const FloatMatrix &m1, const FloatComplexMatrix &m2)
Definition: mx-fm-fcm.cc:26
FloatComplexMatrix operator-(const FloatMatrix &m1, const FloatComplexMatrix &m2)
Definition: mx-fm-fcm.cc:20
void mx_inline_sub(std::size_t n, R *r, const X *x, const Y *y)
Definition: mx-inlines.cc:109
void mx_inline_div(std::size_t n, R *r, const X *x, const Y *y)
Definition: mx-inlines.cc:111
void mx_inline_add(std::size_t n, R *r, const X *x, const Y *y)
Definition: mx-inlines.cc:108
void mx_inline_mul(std::size_t n, R *r, const X *x, const Y *y)
Definition: mx-inlines.cc:110
#define MM_BOOL_OPS(M1, M2)
Definition: mx-op-defs.h:213
#define MM_CMP_OPS(M1, M2)
Definition: mx-op-defs.h:196