summaryrefslogtreecommitdiff
path: root/dot
blob: da0dc58b23099e2de42161ac9aa06fcdd27bdcac (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env ruby

require 'zipf'

a = SparseVector.from_file 'w', ' '
b = SparseVector.from_file 'f', ' '
puts a.to_s
puts a.dot b