Sha256: 908532436f4551122a6928526fe3d87b78f9317ef97b9f436f8edbc54887787b
Contents?: true
Size: 380 Bytes
Versions: 8
Compression:
Stored size: 380 Bytes
Contents
module Dydx module Algebra module Set class Num < Base attr_accessor :n def initialize(n) @n = n end def differentiate(sym=:x) e0 end alias_method :d, :differentiate def to_s @n.to_s end def ==(x) to_s == x.to_s end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems