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

Version Path
nmatrix-0.1.0.rc3 spec/leakcheck.rb
nmatrix-0.1.0.rc2 spec/leakcheck.rb
nmatrix-0.1.0.rc1 spec/leakcheck.rb
nmatrix-0.0.9 spec/leakcheck.rb
nmatrix-0.0.8 spec/leakcheck.rb
nmatrix-0.0.7 spec/leakcheck.rb
nmatrix-0.0.6 spec/leakcheck.rb
nmatrix-0.0.5 spec/leakcheck.rb