26 #if defined (HAVE_CONFIG_H)
30 #include "mx-fm-fcm.h"
31 #include "mx-fcm-fm.h"
32 #include "mx-fnda-fcnda.h"
33 #include "mx-fcnda-fnda.h"
49 DEFNDBINOP_OP (add, float_matrix, float_complex_matrix, float_array,
50 float_complex_array, +)
51 DEFNDBINOP_OP (sub, float_matrix, float_complex_matrix, float_array,
52 float_complex_array, -)
70 DEFBINOP (div, float_matrix, float_complex_matrix)
87 error (
"can't do A ^ B for A and B both matrices");
90 DEFBINOP (ldiv, float_matrix, float_complex_matrix)
105 DEFBINOP (trans_ldiv, float_matrix, float_complex_matrix)
134 DEFNDBINOP_FN (el_mul, float_matrix, float_complex_matrix, float_array,
136 DEFNDBINOP_FN (el_div, float_matrix, float_complex_matrix, float_array,
138 DEFNDBINOP_FN (el_pow, float_matrix, float_complex_matrix, float_array,
141 DEFBINOP (el_ldiv, float_matrix, float_complex_matrix)
151 DEFNDBINOP_FN (el_and, float_matrix, float_complex_matrix, float_array,
153 DEFNDBINOP_FN (el_or, float_matrix, float_complex_matrix, float_array,
156 DEFNDCATOP_FN (fm_fcm, float_matrix, float_complex_matrix, float_array,
159 DEFNDCATOP_FN (m_fcm, matrix, float_complex_matrix, float_array,
162 DEFNDCATOP_FN (fm_cm, float_matrix, complex_matrix, float_array,
165 DEFCONV (float_complex_matrix_conv, float_matrix, float_complex_matrix)
231 float_complex_matrix_conv);
ComplexColumnVector quotient(const ComplexColumnVector &x, const ComplexColumnVector &y)
ComplexColumnVector product(const ComplexColumnVector &x, const ComplexColumnVector &y)
ComplexMatrix xgemm(const ComplexMatrix &a, const ComplexMatrix &b, blas_trans_type transa, blas_trans_type transb)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
ComplexMatrix trans_mul(const SparseComplexMatrix &m, const ComplexMatrix &a)
boolMatrix mx_el_le(const boolMatrix &m1, const boolMatrix &m2)
boolMatrix mx_el_ne(const boolMatrix &m1, const boolMatrix &m2)
boolMatrix mx_el_or(const boolMatrix &m1, const boolMatrix &m2)
boolMatrix mx_el_and(const boolMatrix &m1, const boolMatrix &m2)
boolMatrix mx_el_gt(const boolMatrix &m1, const boolMatrix &m2)
boolMatrix mx_el_eq(const boolMatrix &m1, const boolMatrix &m2)
boolMatrix mx_el_lt(const boolMatrix &m1, const boolMatrix &m2)
boolMatrix mx_el_ge(const boolMatrix &m1, const boolMatrix &m2)
MatrixType matrix_type(void) const
FloatComplexNDArray float_complex_array_value(bool=false) const
FloatComplexMatrix float_complex_matrix_value(bool=false) const
FloatNDArray float_array_value(bool=false) const
FloatMatrix float_matrix_value(bool=false) const
ColumnVector real(const ComplexColumnVector &a)
ColumnVector imag(const ComplexColumnVector &a)
void error(const char *fmt,...)
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
void install_fm_fcm_ops(octave::type_info &ti)
const octave_base_value & a2
const octave_char_matrix & v2
#define DEFNDBINOP_OP(name, t1, t2, e1, e2, op)
#define DEFNDBINOP_FN(name, t1, t2, e1, e2, f)
#define DEFNDCMPLXCMPOP_FN(name, t1, t2, e1, e2, f)
#define DEFBINOPX(name, t1, t2)
#define DEFCONV(name, a_dummy, b_dummy)
#define DEFBINOP(name, t1, t2)
#define DEFBINOP_OP(name, t1, t2, op)
#define INSTALL_ASSIGNCONV_TI(ti, t1, t2, tr)
#define INSTALL_BINOP_TI(ti, op, t1, t2, f)
#define DEFNDCATOP_FN(name, t1, t2, e1, e2, f)
#define INSTALL_WIDENOP_TI(ti, t1, t2, f)
#define INSTALL_CATOP_TI(ti, t1, t2, f)
octave_value op_ne(const octave_value &a1, const octave_value &a2)
octave_value op_el_ldiv(const octave_value &a1, const octave_value &a2)
octave_value op_add(const octave_value &a1, const octave_value &a2)
octave_value op_gt(const octave_value &a1, const octave_value &a2)
octave_value op_el_div(const octave_value &a1, const octave_value &a2)
octave_value op_el_or(const octave_value &a1, const octave_value &a2)
octave_value op_sub(const octave_value &a1, const octave_value &a2)
octave_value op_mul(const octave_value &a1, const octave_value &a2)
octave_value op_le(const octave_value &a1, const octave_value &a2)
octave_value op_el_and(const octave_value &a1, const octave_value &a2)
octave_value op_herm_mul(const octave_value &a1, const octave_value &a2)
octave_value op_eq(const octave_value &a1, const octave_value &a2)
octave_value op_el_pow(const octave_value &a1, const octave_value &a2)
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
octave_value op_pow(const octave_value &a1, const octave_value &a2)
octave_value op_ge(const octave_value &a1, const octave_value &a2)
octave_value op_el_mul(const octave_value &a1, const octave_value &a2)
octave_value op_div(const octave_value &a1, const octave_value &a2)
octave_value op_trans_mul(const octave_value &a1, const octave_value &a2)
octave_value op_lt(const octave_value &a1, const octave_value &a2)
Matrix xdiv(const Matrix &a, const SparseMatrix &b, MatrixType &typ)
Matrix xleftdiv(const SparseMatrix &a, const Matrix &b, MatrixType &typ)
octave_value elem_xpow(double a, const SparseMatrix &b)