view test/octave.test/arith/cumprod-4.m @ 7259:9f02c32eb70d ss-2-9-18

[project @ 2007-12-05 18:02:33 by jwe]
author jwe
date Wed, 05 Dec 2007 18:02:34 +0000
parents b7d997d593d9
children
line wrap: on
line source

(all (cumprod ([2, 3; 4, 5], 1) == [2, 3; 8, 15])
 && all (cumprod ([2, 3; 4, 5], 2) == [2, 6; 4, 20]))