Mercurial > octave-nkf
diff src/DLD-FUNCTIONS/sparse.cc @ 10711:fbd7843974fa
Periodic grammar check of documentation files to ensure common format.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 16 Jun 2010 20:36:55 -0700 |
parents | b4d2080b6df7 |
children | 3140cb7a05a1 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/sparse.cc Wed Jun 16 23:45:13 2010 +0200 +++ b/src/DLD-FUNCTIONS/sparse.cc Wed Jun 16 20:36:55 2010 -0700 @@ -208,8 +208,8 @@ "-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{s} =} spalloc (@var{m}, @var{n}, @var{nz})\n\ Creates a @var{m}-by-@var{n} sparse matrix with preallocated space for at most\n\ -@var{nz} nonzero elements. This is useful for building the matrix incrementally\n\ -by a sequence of indexed assignments. Subsequent indexed assignments will reuse\n\ +@var{nz} nonzero elements. This is useful for building the matrix incrementally\n\ +by a sequence of indexed assignments. Subsequent indexed assignments will reuse\n\ the pre-allocated memory, provided they are of one of the simple forms\n\ \n\ @itemize\n\ @@ -227,7 +227,7 @@ @end itemize\n\ \n\ Partial movement of data may still occur, but in general the assignment will be more\n\ -memory and time-efficient under these circumstances. In particular, it is possible\n\ +memory and time-efficient under these circumstances. In particular, it is possible\n\ to efficiently build a pre-allocated sparse matrix from contiguous block of columns.\n\ \n\ The amount of preallocated memory for a given matrix may be queried using the function\n\