Sha256: 126ca07e045cf7383e7c5d76f347f60ca8fc6881a7191b7e5b79d0134fb95d73
Contents?: true
Size: 347 Bytes
Versions: 17
Compression:
Stored size: 347 Bytes
Contents
module Dydx module Algebra module Set class Log < Base attr_accessor :f def initialize(f) @f = f end def differentiate(sym=:x) f.d(sym) / (f) end alias_method :d, :differentiate def to_s "log( #{f.to_s} )" end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems