Sha256: 05442f485b09bf9a02467a988026c428f1a02592ff6960eb9044a20ac545759e
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
module Qlang module Api module IntegralApi def execute(func, delta, range) a, b = range.split('..') case $meta_info.lang when :ruby "S(#{func}, #{delta})[#{a}, #{b}]" else fail "Integral is not implemented for #{$meta_info.lang_str}" end end module_function :execute end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
hilbert-0.0.2700000 | lib/qlang/api/integral_api.rb |
qlang-0.0.27182124 | lib/qlang/api/integral_api.rb |