Sha256: 1004978667aa7e1c0d401c57772327631daa3c19f6fed9b6eb9436ab03a191b4
Contents?: true
Size: 258 Bytes
Versions: 8
Compression:
Stored size: 258 Bytes
Contents
require "./lib/nmatrix" # Fixed: #n = NMatrix.new(:yale, [8,2], :int64) #m = NMatrix.new(:yale, [2,8], :int64) #100.times do # n.dot(m) #end #GC.start # Remaining: 100.times do |t| n = NMatrix.new(:dense, 1000, :float64) n[0,t] = 1.0 puts n[t,0] end
Version data entries
8 entries across 8 versions & 1 rubygems