Mercurial > hg > octave-nkf
diff src/DLD-FUNCTIONS/tril.cc @ 11152:39ae406df598
Improve docstrings for functions found in undocumented list.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 24 Oct 2010 07:33:34 -0700 |
parents | 2c356a35d7f5 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/tril.cc +++ b/src/DLD-FUNCTIONS/tril.cc @@ -347,7 +347,7 @@ @deftypefnx {Function File} {} triu (@var{a})\n\ @deftypefnx {Function File} {} triu (@var{a}, @var{k})\n\ @deftypefnx {Function File} {} triu (@var{a}, @var{k}, @var{pack})\n\ -Return a new matrix formed by extracting extract the lower (@code{tril})\n\ +Return a new matrix formed by extracting the lower (@code{tril})\n\ or upper (@code{triu}) triangular part of the matrix @var{a}, and\n\ setting all other elements to zero. The second argument is optional,\n\ and specifies how many diagonals above or below the main diagonal should\n\