63 (v.sparse_complex_matrix_value ().transpose (),
64 v.matrix_type ().transpose ());
67 DEFUNOP (hermitian, sparse_complex_matrix)
71 (v.sparse_complex_matrix_value ().hermitian (),
72 v.matrix_type ().transpose ());
76 DEFUNOP (incr, sparse_complex_matrix)
80 return octave_value (v.complex_matrix_value () .increment ());
83 DEFUNOP (decr, sparse_complex_matrix)
87 return octave_value (v.complex_matrix_value () .decrement ());
93 DEFBINOP_OP (add, sparse_complex_matrix, sparse_complex_matrix, +)
94 DEFBINOP_OP (sub, sparse_complex_matrix, sparse_complex_matrix, -)
96 DEFBINOP_OP (mul, sparse_complex_matrix, sparse_complex_matrix, *)
98 DEFBINOP (div, sparse_complex_matrix, sparse_complex_matrix)
125 error (
"can't do A ^ B for A and B both matrices");
129 DEFBINOP (ldiv, sparse_complex_matrix, sparse_complex_matrix)
167 DEFBINOP (el_ldiv, sparse_complex_matrix, sparse_complex_matrix)
ComplexColumnVector product(const ComplexColumnVector &x, const ComplexColumnVector &y)
octave_value op_uplus(const octave_value &a)
#define DEFBINOP(name, t1, t2)
virtual MatrixType matrix_type(void) const
octave_value op_el_pow(const octave_value &a1, const octave_value &a2)
#define INSTALL_NCUNOP(op, t, f)
#define DEFBINOPX(name, t1, t2)
virtual SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
octave_value op_eq(const octave_value &a1, const octave_value &a2)
octave_idx_type columns(void) const
#define DEFNULLASSIGNOP_FN(name, t, f)
octave_value op_el_ldiv(const octave_value &a1, const octave_value &a2)
static void transpose(octave_idx_type N, const octave_idx_type *ridx, const octave_idx_type *cidx, octave_idx_type *ridx2, octave_idx_type *cidx2)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
boolMatrix mx_el_le(const boolMatrix &m1, const boolMatrix &m2)
void error(const char *fmt,...)
octave_value op_pow(const octave_value &a1, const octave_value &a2)
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
#define DEFUNOP_OP(name, t, op)
#define INSTALL_ASSIGNOP(op, t1, t2, f)
MatrixType matrix_type(void) const
F77_RET_T const double const double double * d
#define CAST_BINOP_ARGS(t1, t2)
#define DEFBINOP_OP(name, t1, t2, op)
void install_scm_scm_ops(void)
octave_value op_div(const octave_value &a1, const octave_value &a2)
virtual Complex complex_value(bool=false) const
octave_value op_el_or(const octave_value &a1, const octave_value &a2)
ComplexColumnVector quotient(const ComplexColumnVector &x, const ComplexColumnVector &y)
#define INSTALL_BINOP(op, t1, t2, f)
boolMatrix mx_el_ge(const boolMatrix &m1, const boolMatrix &m2)
octave_value op_not(const octave_value &a)
boolMatrix mx_el_gt(const boolMatrix &m1, const boolMatrix &m2)
octave_value op_transpose(const octave_value &a)
octave_value elem_xpow(double a, const SparseMatrix &b)
octave_value op_el_and(const octave_value &a1, const octave_value &a2)
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
Matrix xleftdiv(const SparseMatrix &a, const Matrix &b, MatrixType &typ)
boolMatrix mx_el_ne(const boolMatrix &m1, const boolMatrix &m2)
octave_value op_le(const octave_value &a1, const octave_value &a2)
octave_value op_lt(const octave_value &a1, const octave_value &a2)
#define INSTALL_CATOP(t1, t2, f)
octave_value op_el_div(const octave_value &a1, const octave_value &a2)
const octave_char_matrix & v2
boolMatrix mx_el_or(const boolMatrix &m1, const boolMatrix &m2)
void assign(octave_value::assign_op, const octave_value &)
Matrix xdiv(const Matrix &a, const SparseMatrix &b, MatrixType &typ)
octave_value op_ne(const octave_value &a1, const octave_value &a2)
boolMatrix mx_el_and(const boolMatrix &m1, const boolMatrix &m2)
#define DEFCATOP_FN(name, t1, t2, f)
octave_value op_add(const octave_value &a1, const octave_value &a2)
#define INSTALL_UNOP(op, t, f)
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
octave_value op_sub(const octave_value &a1, const octave_value &a2)
boolMatrix mx_el_lt(const boolMatrix &m1, const boolMatrix &m2)
Complex complex_value(bool=false) const
octave_value op_el_mul(const octave_value &a1, const octave_value &a2)
#define DEFBINOP_FN(name, t1, t2, f)
std::complex< double > Complex
octave_value op_hermitian(const octave_value &a)
octave_value op_ge(const octave_value &a1, const octave_value &a2)
boolMatrix mx_el_eq(const boolMatrix &m1, const boolMatrix &m2)
octave_value op_uminus(const octave_value &a)
octave_value op_mul(const octave_value &a1, const octave_value &a2)
void gripe_divide_by_zero(void)
octave_idx_type rows(void) const
octave_value op_gt(const octave_value &a1, const octave_value &a2)
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
#define DEFASSIGNOP_FN(name, t1, t2, f)