// DO NOT EDIT -- generated by mk-ops.awk
#if defined (HAVE_CONFIG_H)
#  include "config.h"
#endif
#include "Array-util.h"
#include "mx-cm-m.h"
#include "mx-op-defs.h"
#include "boolMatrix.h"
#include "boolNDArray.h"
#include "CMatrix.h"
#include "dMatrix.h"

ComplexMatrix
operator + (const ComplexMatrix& m1, const Matrix& m2)
{
  return do_mm_binary_op<ComplexMatrix::element_type, ComplexMatrix::element_type, Matrix::element_type> (m1, m2, mx_inline_add, mx_inline_add, mx_inline_add, "operator +");
}

ComplexMatrix
operator - (const ComplexMatrix& m1, const Matrix& m2)
{
  return do_mm_binary_op<ComplexMatrix::element_type, ComplexMatrix::element_type, Matrix::element_type> (m1, m2, mx_inline_sub, mx_inline_sub, mx_inline_sub, "operator -");
}

ComplexMatrix
product (const ComplexMatrix& m1, const Matrix& m2)
{
  return do_mm_binary_op<ComplexMatrix::element_type, ComplexMatrix::element_type, Matrix::element_type> (m1, m2, mx_inline_mul, mx_inline_mul, mx_inline_mul, "product");
}

ComplexMatrix
quotient (const ComplexMatrix& m1, const Matrix& m2)
{
  return do_mm_binary_op<ComplexMatrix::element_type, ComplexMatrix::element_type, Matrix::element_type> (m1, m2, mx_inline_div, mx_inline_div, mx_inline_div, "quotient");
}
MM_CMP_OPS (ComplexMatrix, Matrix)
MM_BOOL_OPS (ComplexMatrix, Matrix)
