require mathn array -6 -9 Matrix array

1
2
3
require 'mathn'
array = [[3, -6, 1], [2, 7, -9], [6, 8, 3]]
Matrix[array]