Sha256: a13d7c495adfdceb5a954b9c4e66e1ab182394d3d31bddfc1d8797ae859bbcda

Contents?: true

Size: 324 Bytes

Versions: 3

Compression:

Stored size: 324 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
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dydx-0.1.31 lib/dydx/algebra/set/num.rb
dydx-0.1.3 lib/dydx/algebra/set/num.rb
dydx-0.1.29 lib/dydx/algebra/set/num.rb