Sha256: bf4af09f0f569ea7112409375103017d94175dc003c9a143a80dbf1f7514f10c
Contents?: true
Size: 449 Bytes
Versions: 6
Compression:
Stored size: 449 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' require 'qlang/api/limit_api' require 'qlang/api/sigma_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
6 entries across 6 versions & 2 rubygems