inverse matrix by kimiyuki

require 'matrix'
puts Matrix[*$<.map{|l|l.split.map &:to_i}].inverse.map(&:to_i).to_s[8..-3].delete(',').gsub('] [',$/)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page