Mercurial > octave
comparison libinterp/corefcn/data.cc @ 21053:12e98e5ebd13
Fix typo in 8190fe6dc3fd.
* data.cc (Fcumprod): Change "cumsum" to "cumprod" in docstring.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 12 Jan 2016 10:28:48 -0800 |
parents | 09c7536502f9 |
children | 5e00ed38a58b |
comparison
equal
deleted
inserted
replaced
21052:5c5af828c248 | 21053:12e98e5ebd13 |
---|---|
1159 If @var{dim} is omitted, it defaults to the first non-singleton dimension.\n\ | 1159 If @var{dim} is omitted, it defaults to the first non-singleton dimension.\n\ |
1160 For example:\n\ | 1160 For example:\n\ |
1161 \n\ | 1161 \n\ |
1162 @example\n\ | 1162 @example\n\ |
1163 @group\n\ | 1163 @group\n\ |
1164 cumsum ([1, 2; 3, 4; 5, 6])\n\ | 1164 cumprod ([1, 2; 3, 4; 5, 6])\n\ |
1165 @result{} 1 2\n\ | 1165 @result{} 1 2\n\ |
1166 3 8\n\ | 1166 3 8\n\ |
1167 15 48\n\ | 1167 15 48\n\ |
1168 @end group\n\ | 1168 @end group\n\ |
1169 @end example\n\ | 1169 @end example\n\ |