23 #if defined (HAVE_CONFIG_H) 40 DEFBINOP (mul_dm_sm, diag_matrix, sparse_matrix)
64 DEFBINOP (ldiv_dm_sm, diag_matrix, sparse_matrix)
73 DEFBINOP (add_dm_sm, diag_matrix, sparse_matrix)
90 DEFBINOP (sub_dm_sm, diag_matrix, sparse_matrix)
Matrix matrix_value(bool=false) const
DiagMatrix diag_matrix_value(bool=false) const
void install_dm_sm_ops(octave::type_info &ti)
double scalar_value(bool frc_str_conv=false) const
#define DEFBINOP(name, t1, t2)
virtual SparseMatrix sparse_matrix_value(bool=false) const
#define INSTALL_BINOP_TI(ti, op, t1, t2, f)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
const octave_base_value & a2
octave_value op_div(const octave_value &a1, const octave_value &a2)
double scalar_value(bool frc_str_conv=false) const
octave_idx_type rows(void) const
virtual DiagMatrix diag_matrix_value(bool=false) const
void mark_as_unsymmetric(void)
MatrixType matrix_type(void) const
Matrix xleftdiv(const SparseMatrix &a, const Matrix &b, MatrixType &typ)
void warn_divide_by_zero(void)
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
MatrixType matrix_type(void) const
const octave_char_matrix & v2
Matrix xdiv(const Matrix &a, const SparseMatrix &b, MatrixType &typ)
MatrixType matrix_type(void) const
octave_value op_add(const octave_value &a1, const octave_value &a2)
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
Matrix matrix_value(bool=false) const
octave_value op_sub(const octave_value &a1, const octave_value &a2)
octave_idx_type columns(void) const
SparseMatrix sparse_matrix_value(bool=false) const
octave_value op_mul(const octave_value &a1, const octave_value &a2)