Mercurial > octave
diff libinterp/corefcn/cellfun.cc @ 26963:589b00536a39 stable
doc: Small fixes to mat2cell and polyeig docstrings (bug #55985).
* cellfun.cc (Fmat2cell): Replace reference to old variable "di" with variable
"dimi".
* polyeig.m: Use @var{} macro around "z" in @code example.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 24 Mar 2019 21:50:07 -0700 |
parents | ae1542fb58ba |
children | b57d596b909b 2310164737b3 |
line wrap: on
line diff
--- a/libinterp/corefcn/cellfun.cc Wed Mar 20 08:13:57 2019 -0700 +++ b/libinterp/corefcn/cellfun.cc Sun Mar 24 21:50:07 2019 -0700 @@ -2118,7 +2118,7 @@ integers which specifies how to divide that dimension's elements amongst the new elements in the output @var{C}. The number of elements in the @var{i}-th dimension is @code{size (@var{A}, @var{i})}. Because all elements in @var{A} -must be partitioned, there is a requirement that @code{sum (@var{di}) == size +must be partitioned, there is a requirement that @code{sum (@var{dimi}) == size (@var{A}, i)}. The size of the output cell @var{C} is numel (@var{dim1}) x numel (@var{dim2}) x @dots{} x numel (@var{dimn}).