examples/linalg/LU.rb in gsl-1.15.3 vs examples/linalg/LU.rb in gsl-1.16.0.6
- old
+ new
@@ -2,10 +2,10 @@
require("gsl")
include GSL
include Linalg
m = Matrix::alloc([0.18, 0.60, 0.57, 0.96], [0.41, 0.24, 0.99, 0.58],
- [0.14, 0.30, 0.97, 0.66], [0.51, 0.13, 0.19, 0.85])
+ [0.14, 0.30, 0.97, 0.66], [0.51, 0.13, 0.19, 0.85])
m.print
lu, perm = m.LU_decomp
m.print
lu.print