Mercurial > hg > octave-nkf
diff src/ov.cc @ 9064:7c02ec148a3c
Check grammar on all .cc files
Same check as previously done on .m files
Attempt to enforce some conformity in documentation text for rules
such as two spaces after a period, commas around latin abbreviations, etc.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 28 Mar 2009 13:57:22 -0700 |
parents | d12f44a5dce3 |
children | 67fc970dad7d 10fb62b82108 |
line wrap: on
line diff
--- a/src/ov.cc +++ b/src/ov.cc @@ -2635,6 +2635,7 @@ a matrix\n\ \n\ @example\n\ +@group\n\ val = magic(3)\n\ @result{} val = [ 8 1 6\n\ 3 5 7\n\ @@ -2645,6 +2646,7 @@ @result{} [ 8 1 \n\ 3 5 \n\ 4 9 ]\n\ +@end group\n\ @end example\n\ \n\ @noindent\n\ @@ -2686,6 +2688,7 @@ 3-by-3 matrix to zero.\n\ \n\ @example\n\ +@group\n\ val = magic(3);\n\ idx.type = \"()\";\n\ idx.subs = @{\":\", 1:2@};\n\ @@ -2693,6 +2696,7 @@ @result{} [ 0 0 6\n\ 0 0 7\n\ 0 0 2 ]\n\ +@end group\n\ @end example\n\ \n\ Note that this is the same as writing @code{val(:,1:2) = 0}.\n\