Sha256: 23cb08a46928c1891d40022a5e9fdc80e6dc6c95cfe4441f9e6e2332e41894dd

Contents?: true

Size: 197 Bytes

Versions: 1

Compression:

Stored size: 197 Bytes

Contents

require 'nyaplot'
require_relative 'function'

module Mathmas
  def plot(obj, *args)
    if obj.is_a?(Function)
      Mathmas.plot_function(obj, args[0])
    end
  end

  module_function :plot
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mathmas-0.0.1 lib/mathmas/plot/plot.rb