Sha256: 2c701862c7aaf3da9326e4535ac0959e6fd746533d0fab473865e85d5e960a83

Contents?: true

Size: 259 Bytes

Versions: 19

Compression:

Stored size: 259 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

19 entries across 19 versions & 5 rubygems

Version Path
pnmatrix-1.2.4 spec/leakcheck.rb
nmatrix-lapacke-0.2.4 spec/leakcheck.rb
nmatrix-fftw-0.2.4 spec/leakcheck.rb
nmatrix-atlas-0.2.4 spec/leakcheck.rb
nmatrix-0.2.4 spec/leakcheck.rb
nmatrix-fftw-0.2.3 spec/leakcheck.rb
nmatrix-atlas-0.2.3 spec/leakcheck.rb
nmatrix-lapacke-0.2.3 spec/leakcheck.rb
nmatrix-0.2.3 spec/leakcheck.rb
nmatrix-lapacke-0.2.1 spec/leakcheck.rb
nmatrix-fftw-0.2.1 spec/leakcheck.rb
nmatrix-atlas-0.2.1 spec/leakcheck.rb
nmatrix-0.2.1 spec/leakcheck.rb
nmatrix-atlas-0.2.0 spec/leakcheck.rb
nmatrix-lapacke-0.2.0 spec/leakcheck.rb
nmatrix-0.2.0 spec/leakcheck.rb
nmatrix-0.1.0 spec/leakcheck.rb
nmatrix-0.1.0.rc5 spec/leakcheck.rb
nmatrix-0.1.0.rc4 spec/leakcheck.rb