#!/usr/bin/env ruby require("gsl") m = Matrix.alloc([1, 2], [3, 4]) m.fwrite("a.dat") m2 = Matrix.alloc([5, 6], [7, 8]) m2.fprintf("b.dat")