Sha256: a7938bccb642944b2f6c01ea906e385375ff65524d7db292ca83e07ac8d5f532

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

require 'active_model'

module Danica
  autoload :BaseOperations,   'danica/base_operations'
  autoload :VariablesHolder,  'danica/variables_holder'
  autoload :Common,           'danica/common'
  autoload :Number,           'danica/number'
  autoload :Negative,         'danica/negative'
  autoload :PositiveNegative, 'danica/positive_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.1.1 lib/danica.rb
danica-2.1.0 lib/danica.rb