Mercurial > octave-nkf
comparison src/ov-base.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 | eb63fbe60fab |
children | d8f9588c6ba1 |
comparison
equal
deleted
inserted
replaced
9063:a6cf0ad87eee | 9064:7c02ec148a3c |
---|---|
1395 Query or set the internal variable that controls whether Octave will\n\ | 1395 Query or set the internal variable that controls whether Octave will\n\ |
1396 automatically mutate sparse matrices to real matrices to save memory.\n\ | 1396 automatically mutate sparse matrices to real matrices to save memory.\n\ |
1397 For example,\n\ | 1397 For example,\n\ |
1398 \n\ | 1398 \n\ |
1399 @example\n\ | 1399 @example\n\ |
1400 @group\n\ | |
1400 s = speye(3);\n\ | 1401 s = speye(3);\n\ |
1401 sparse_auto_mutate (false)\n\ | 1402 sparse_auto_mutate (false)\n\ |
1402 s (:, 1) = 1;\n\ | 1403 s (:, 1) = 1;\n\ |
1403 typeinfo (s)\n\ | 1404 typeinfo (s)\n\ |
1404 @result{} sparse matrix\n\ | 1405 @result{} sparse matrix\n\ |
1405 sparse_auto_mutate (true)\n\ | 1406 sparse_auto_mutate (true)\n\ |
1406 s (1, :) = 1;\n\ | 1407 s (1, :) = 1;\n\ |
1407 typeinfo (s)\n\ | 1408 typeinfo (s)\n\ |
1408 @result{} matrix\n\ | 1409 @result{} matrix\n\ |
1410 @end group\n\ | |
1409 @end example\n\ | 1411 @end example\n\ |
1410 @end deftypefn") | 1412 @end deftypefn") |
1411 { | 1413 { |
1412 return SET_INTERNAL_VARIABLE (sparse_auto_mutate); | 1414 return SET_INTERNAL_VARIABLE (sparse_auto_mutate); |
1413 } | 1415 } |