26 #if defined (HAVE_CONFIG_H)
43 DEFBINOP (mul_pm_scm, perm_matrix, sparse_complex_matrix)
54 else if (v1.rows () == 1 && v1.columns () == 1)
60 DEFBINOP (ldiv_pm_scm, perm_matrix, sparse_complex_matrix)
70 DEFBINOP (mul_scm_pm, sparse_complex_matrix, perm_matrix)
75 if (v1.rows () == 1 && v1.columns () == 1)
77 std::complex<double>
d = v1.scalar_value ();
87 DEFBINOP (div_scm_pm, sparse_complex_matrix, perm_matrix)
108 OCTAVE_END_NAMESPACE(
octave)
PermMatrix inverse() const
virtual SparseMatrix sparse_matrix_value(bool=false) const
octave_idx_type rows() const
octave_idx_type columns() const
virtual SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
virtual PermMatrix perm_matrix_value() const
Complex complex_value(bool=false) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
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
void install_pm_scm_ops(octave::type_info &ti)
#define DEFBINOP(name, t1, t2)
#define OCTAVE_CAST_BASE_VALUE(T, T_VAL, BASE_VAL)
#define INSTALL_BINOP_TI(ti, op, t1, t2, f)
octave_value op_mul(const octave_value &a1, const octave_value &a2)
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
octave_value op_div(const octave_value &a1, const octave_value &a2)