lib/dydx/algebra/set.rb in dydx-0.1.0 vs lib/dydx/algebra/set.rb in dydx-0.1.1
- old
+ new
@@ -34,9 +34,13 @@
def e
$e ||= E.new
end
+ def oo
+ Float::INFINITY
+ end
+
def log(formula)
if formula.multiplication?
f, g = formula.f, formula.g
log(f) + log(g)
elsif formula.exponentiation?