Sha256: 86f2528e8f56eb8f11ea80a45f8b5ef3278800d45eca04a7e9bddc850a932c68
Contents?: true
Size: 389 Bytes
Versions: 3
Compression:
Stored size: 389 Bytes
Contents
require 'qlang/api/matrix_api' require 'qlang/api/vector_api' require 'qlang/api/list_api' require 'qlang/api/func_api' require 'qlang/api/integral_api' module Qlang module Api class ::Matrix def to_q rows.map(&:join_by_sp).join('; ').parentheses end end class ::Vector def to_q elements.join_by_sp.parentheses end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qlang-0.0.27182110 | lib/qlang/api.rb |
qlang-0.0.27182100 | lib/qlang/api.rb |
qlang-0.0.27182000 | lib/qlang/api.rb |