//@code objref m, v1 m = new Matrix(8,8) v1 = new Vector(8) for i=-1,1 { v1.fill(2 - 3*abs(i)) m.setdiag(i, v1) } m.exp().printf