Mercurial > hg > octave-lyh
diff scripts/general/tril.m @ 5668:56ab559e1d77
[project @ 2006-03-15 03:11:35 by jwe]
author | jwe |
---|---|
date | Wed, 15 Mar 2006 03:11:35 +0000 |
parents | 2618a0750ae6 |
children | c7d5a534afa5 |
line wrap: on
line diff
--- a/scripts/general/tril.m +++ b/scripts/general/tril.m @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} tril (@var{a}, @var{k}) ## @deftypefnx {Function File} {} triu (@var{a}, @var{k}) -## Return a new matrix formed by extracting extract the lower (@code{tril}) +## Return a new matrix formed by extracting the lower (@code{tril}) ## or upper (@code{triu}) triangular part of the matrix @var{a}, and ## setting all other elements to zero. The second argument is optional, ## and specifies how many diagonals above or below the main diagonal should