26 #if defined (HAVE_CONFIG_H)
51 DEFNDBINOP_OP (add, float_matrix, float_complex_matrix, float_array,
52 float_complex_array, +)
53 DEFNDBINOP_OP (sub, float_matrix, float_complex_matrix, float_array,
54 float_complex_array, -)
56 DEFBINOP_OP (mul, float_matrix, float_complex_matrix, *)
70 DEFBINOP (div, float_matrix, float_complex_matrix)
85 error (
"can't do A ^ B for A and B both matrices");
88 DEFBINOP (ldiv, float_matrix, float_complex_matrix)
101 DEFBINOP (trans_ldiv, float_matrix, float_complex_matrix)
111 v1.matrix_type (typ);
128 DEFNDBINOP_FN (el_mul, float_matrix, float_complex_matrix, float_array,
130 DEFNDBINOP_FN (el_div, float_matrix, float_complex_matrix, float_array,
132 DEFNDBINOP_FN (el_pow, float_matrix, float_complex_matrix, float_array,
135 DEFBINOP (el_ldiv, float_matrix, float_complex_matrix)
143 DEFNDBINOP_FN (el_and, float_matrix, float_complex_matrix, float_array,
145 DEFNDBINOP_FN (el_or, float_matrix, float_complex_matrix, float_array,
148 DEFNDCATOP_FN (fm_fcm, float_matrix, float_complex_matrix, float_array,
149 float_complex_array,
concat)
151 DEFNDCATOP_FN (m_fcm, matrix, float_complex_matrix, float_array,
152 float_complex_array,
concat)
154 DEFNDCATOP_FN (fm_cm, float_matrix, complex_matrix, float_array,
155 float_complex_array,
concat)
157 DEFCONV (float_complex_matrix_conv, float_matrix, float_complex_matrix)
162 (v.float_array_value ()));
223 float_complex_matrix_conv);
226 OCTAVE_END_NAMESPACE(
octave)
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() const
FloatComplexNDArray float_complex_array_value(bool=false) const
FloatComplexMatrix float_complex_matrix_value(bool=false) const
ColumnVector real(const ComplexColumnVector &a)
ColumnVector imag(const ComplexColumnVector &a)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
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 OCTAVE_CAST_BASE_VALUE(T, T_VAL, BASE_VAL)
#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)