Y = cumsum_row(X) (Matrix|Array|Index) Y; (Matrix|Array|Index) X;
>> Y = cumsum_row([[1 2][3 4]]) === [Y] : ( 2, 2) === ( 1) ( 2) ( 1) 1.00000000E+00 3.00000000E+00 ( 2) 3.00000000E+00 7.00000000E+00