Sha256: a3c3899d121265895a80248af5cca05ea48c23b91d7e49981d2eef5854703a66

Contents?: true

Size: 930 Bytes

Versions: 2

Compression:

Stored size: 930 Bytes

Contents

require 'active_model'

module Danica
  autoload :BaseOperations, 'danica/base_operations'
  autoload :Common,        'danica/common'
  autoload :Number,        'danica/number'
  autoload :Negative,      'danica/negative'
  autoload :Group,         'danica/group'
  autoload :Variable,      'danica/variable'
  autoload :Operator,      'danica/operator'
  autoload :Function,      'danica/function'
  autoload :Exception,     'danica/exception'
  autoload :Constant,      'danica/constant'

  autoload :Product,       'danica/product'
  autoload :Sum,           'danica/sum'
  autoload :Division,      'danica/division'
  autoload :Power,         'danica/power'
  autoload :SquaredRoot,   'danica/squared_root'
  autoload :Exponential,   'danica/exponential'
  autoload :Sin,           'danica/sin'
  autoload :Cos,           'danica/cos'

  E = Constant.new(Math::E, :e, 'exp(1)')
  PI =  Constant.new(Math::PI, '\pi', :pi)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
danica-2.0.5 lib/danica.rb
danica-2.0.4 lib/danica.rb