Sha256: 62ccad908e1cdc45599c86ff085d1f9b2fb67a1ca4f145f7216253334240b875

Contents?: true

Size: 342 Bytes

Versions: 10

Compression:

Stored size: 342 Bytes

Contents

module Qlang
  module Api
    module IntegralApi
      def execute(func, delta, range)
        a, b = range.split('..')
        case $type
        when :R
          fail 'Integral is not implemented for R'
        when :Ruby
          "S(#{func}, #{delta})[#{a}, #{b}]"
        end

      end
      module_function :execute
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
qlang-0.0.27180000 lib/qlang/api/integral_api.rb
qlang-0.0.27100000 lib/qlang/api/integral_api.rb
qlang-0.0.27000000 lib/qlang/api/integral_api.rb
qlang-0.0.27 lib/qlang/api/integral_api.rb
qlang-0.0.14142135 lib/qlang/api/integral_api.rb
qlang-0.0.1414213 lib/qlang/api/integral_api.rb
qlang-0.0.141421 lib/qlang/api/integral_api.rb
qlang-0.0.14142 lib/qlang/api/integral_api.rb
qlang-0.0.1414 lib/qlang/api/integral_api.rb
qlang-0.0.141 lib/qlang/api/integral_api.rb