module Dydx::Algebra::Operator::Parts::Symbol

Public Instance Methods

*(x) click to toggle source
Calls superclass method
# File lib/dydx/algebra/operator/parts/symbol.rb, line 6
def *(x)
  if x.formula?(:**) &&
    self == x.f

    self ** (1 + x.g)
  else
    super(x)
  end
end