Mercurial > octave-antonio
diff scripts/special-matrix/hilb.m @ 3369:f37ca3017116
[project @ 1999-11-21 16:26:02 by jwe]
author | jwe |
---|---|
date | Sun, 21 Nov 1999 16:26:08 +0000 |
parents | 990ea337e950 |
children | 5e0a0b1cba43 |
line wrap: on
line diff
--- a/scripts/special-matrix/hilb.m Sat Nov 20 17:23:01 1999 +0000 +++ b/scripts/special-matrix/hilb.m Sun Nov 21 16:26:08 1999 +0000 @@ -17,13 +17,33 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -## usage: hilb (n) -## -## Return the Hilbert matrix of order n. The i, j element of a Hilbert -## matrix is defined as -## -## H (i, j) = 1 / (i + j - 1); -## +## -*- texinfo -*- +## @deftypefn {Function File} {} hilb (@var{n}) +## Return the Hilbert matrix of order @var{n}. The +## @iftex +## @tex +## $i,\,j$ +## @end tex +## @end iftex +## @ifinfo +## i, j +## @end ifinfo +## element of a Hilbert matrix is defined as +## @iftex +## @tex +## $$ +## H (i, j) = {1 \over (i + j - 1)} +## $$ +## @end tex +## @end iftex +## @ifinfo +## +## @example +## H (i, j) = 1 / (i + j - 1) +## @end example +## @end ifinfo +## @end deftypefn + ## See also: hankel, vander, sylvester_matrix, invhilb, toeplitz ## Author: jwe