Class: Rucas::Symbolic::PowExpr
- Inherits:
-
ArithmeticOpExpr
- Object
- Struct
- BinaryOpExpr
- ArithmeticOpExpr
- Rucas::Symbolic::PowExpr
- Defined in:
- lib/rucas/symbolic.rb,
lib/rucas/symbolic.rb
Constant Summary
Constants included from OpExpr
Instance Attribute Summary
Attributes inherited from BinaryOpExpr
Instance Method Summary collapse
-
#op_string ⇒ Object
Reduce spacing between base and exponent.
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_string ⇒ Object
Reduce spacing between base and exponent.
235 |
# File 'lib/rucas/symbolic.rb', line 235 def op_string; self.op.to_s end |