Sha256: f1a65b1e9a2087c00161ce49eca5e1248eb1f2cd2d2854699075d6a2692b8193
Contents?: true
Size: 285 Bytes
Versions: 22
Compression:
Stored size: 285 Bytes
Contents
#!/usr/bin/env ruby require("gsl") include GSL include GSL::Linalg m = GSL::Matrix[[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]] b = Vector.alloc(1, 2, 3, 4) p HH.solve(m, b) p m.HH_solve(b) m.HH_svx(b) p b
Version data entries
22 entries across 22 versions & 4 rubygems