view test/octave.test/arith/cumsum-4.m @ 3726:b7d997d593d9

[project @ 2000-10-27 17:51:21 by jwe]
author jwe
date Fri, 27 Oct 2000 17:51:27 +0000
parents b02d27f0ed57
children
line wrap: on
line source

(all (cumsum ([1, 2; 3, 4], 1) == [1, 2; 4, 6])
 && all (cumsum ([1, 2; 3, 4], 2) == [1, 3; 3, 7]))