Method: Log#initialize
- Defined in:
- lib/symcalc.rb
#initialize(base, eq) ⇒ Log
Implements the subtraction operation in SymCalc Accepts the base and equation arguments
Example:
x = SymCalc.var(“x”) fx = Log.new 10, x ** 2
787 788 789 790 |
# File 'lib/symcalc.rb', line 787 def initialize base, eq @base = to_equation(base) @eq = to_equation(eq) end |