Sha256: 45675ccfe327abf545b418d9d169b744a455bb06e6e1e19a8c8b483ab1531daf
Contents?: true
Size: 451 Bytes
Versions: 7
Compression:
Stored size: 451 Bytes
Contents
module Hilbert module Api module SigmaApi def self.execute(formula, var, from, to) case $meta_info.lang # TODO: I know what you want to say. when :ruby Dydx::API.reset! "temp_cal_f(#{var}) <= #{formula}; (#{from}..#{to}).inject(0) {|sum, i| sum+=temp_cal_f(i) }" else fail "List is not implemented for #{$meta_info.lang_str}" end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems