manual typos
John W. Eaton
jwe at bevo.che.wisc.edu
Thu Sep 11 14:54:15 CDT 2008
On 11-Sep-2008, Thomas Weber wrote:
| Am Dienstag, den 09.09.2008, 12:44 -0400 schrieb John W. Eaton:
| > On 9-Sep-2008, Thomas Weber wrote:
| >
| > | Am Dienstag, den 09.09.2008, 09:21 +0200 schrieb Francesco Potorti`:
| > | > In the 3.0.1 manual, at the "6.2.1 Creating Cell Array" page, I read:
| > | >
| > | > -- Loadable Function: C = num2cell (M, D)
| > | > Convert to matrix M into a cell array. If D is defined the value C
| > | > _____________^^
| > | >
| > | > is of dimension 1 in this dimension and the elements of M are
| > | > placed in slices in C.
| > | >
| > | > to --> the
| > | >
| > | > moreover, I would use DIM rather than D, similarly to what is done for
| > | > the shift function, and would put a comma after the word "defined".
| > | >
| > | >
| > | > Later on:
| > | > -- Loadable Function: B = mat2cell (A, R)
| > | > Converts the matrix A to a cell array If A is 2-D, then it is
| > | >
| > | > A full stop is missing before "If".
| > |
| > | Changesets attached (I missed the 's' in the first convert in the first
| > | try, though).
| >
| > I think it should be "Convert" not "Converts". The first sentence of
| > a doc string should read like a command, not a description. This
| > style is consistent with most of the other doc strings in Octave.
|
| Hmm, I actually thought there was a "Converts" somewhere later in the
| file and so I adapted it to that. But it seems I'm wrong.
I think there was one, but I fixed it.
| Anyway, another small doc update in consistency with the above.
I applied it.
Thanks,
jwe
More information about the Bug-octave
mailing list