26 #if defined (HAVE_CONFIG_H)
48 DEFUNOP (transpose, complex_diag_matrix)
51 return octave_value (v.complex_diag_matrix_value ().transpose ());
54 DEFUNOP (hermitian, complex_diag_matrix)
57 return octave_value (v.complex_diag_matrix_value ().hermitian ());
62 DEFBINOP_OP (add, complex_diag_matrix, complex_diag_matrix, +)
63 DEFBINOP_OP (sub, complex_diag_matrix, complex_diag_matrix, -)
64 DEFBINOP_OP (mul, complex_diag_matrix, complex_diag_matrix, *)
66 DEFBINOP (div, complex_diag_matrix, complex_diag_matrix)
71 return xdiv (v1.complex_diag_matrix_value (),
75 DEFBINOP (ldiv, complex_diag_matrix, complex_diag_matrix)
80 return xleftdiv (v1.complex_diag_matrix_value (),
84 CONVDECL (complex_diag_matrix_to_complex_matrix)
117 complex_diag_matrix_to_complex_matrix);
120 OCTAVE_END_NAMESPACE(
octave)
virtual ComplexDiagMatrix complex_diag_matrix_value(bool=false) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void install_cdm_cdm_ops(octave::type_info &ti)
const octave_base_value & a2
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
const octave_char_matrix & v2
#define DEFUNOP_OP(name, t, op)
#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 INSTALL_WIDENOP_TI(ti, t1, t2, f)
#define INSTALL_UNOP_TI(ti, op, t, f)
octave_value op_uplus(const octave_value &a)
octave_value op_add(const octave_value &a1, const octave_value &a2)
octave_value op_uminus(const octave_value &a)
octave_value op_transpose(const octave_value &a)
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_hermitian(const octave_value &a)
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
octave_value op_div(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)