Class: Rucas::Symbolic::MulExpr

Inherits:
ArithmeticOpExpr show all
Defined in:
lib/rucas/symbolic.rb,
lib/rucas/symbolic.rb

Constant Summary

Constants included from OpExpr

OpExpr::OP_PRECEDENCE

Instance Attribute Summary

Attributes inherited from BinaryOpExpr

#lhs, #op, #rhs

Instance Method Summary collapse

Methods inherited from BinaryOpExpr

#children, #match, #to_s, #to_s_paren, #value

Methods included from OpExpr

#constant?, #precedence, #rewrite, #with

Methods included from Expr

#children, make, #match, #precedence, #rewrite, #simplify, #to_s_paren, #value

Instance Method Details

#op_stringObject

Reduce spacing between factors.



230
# File 'lib/rucas/symbolic.rb', line 230

def op_string; self.op.to_s end