Mercurial > hg > octave-nkf
comparison scripts/special-matrix/pascal.m @ 9209:923c7cb7f13f
Simplify TeXinfo files by eliminating redundant @iftex followed by @tex construction.
spellchecked all .txi and .texi files.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 17 May 2009 12:18:06 -0700 |
parents | 5235caf89e12 |
children | 3140cb7a05a1 |
comparison
equal
deleted
inserted
replaced
9208:cb163402bf79 | 9209:923c7cb7f13f |
---|---|
22 ## | 22 ## |
23 ## Return the Pascal matrix of order @var{n} if @code{@var{t} = 0}. | 23 ## Return the Pascal matrix of order @var{n} if @code{@var{t} = 0}. |
24 ## @var{t} defaults to 0. Return lower triangular Cholesky factor of | 24 ## @var{t} defaults to 0. Return lower triangular Cholesky factor of |
25 ## the Pascal matrix if @code{@var{t} = 1}. This matrix is its own | 25 ## the Pascal matrix if @code{@var{t} = 1}. This matrix is its own |
26 ## inverse, that is @code{pascal (@var{n}, 1) ^ 2 == eye (@var{n})}. | 26 ## inverse, that is @code{pascal (@var{n}, 1) ^ 2 == eye (@var{n})}. |
27 ## If @code{@var{t} = -1}, return its absolute value. This is the | 27 ## If @code{@var{t} = -1}, return its absolute value. This is the |
28 ## standard pascal triangle as a lower-triangular matrix. | 28 ## standard pascal triangle as a lower-triangular matrix. |
29 ## If @code{@var{t} = 2}, return a transposed and permuted version of | 29 ## If @code{@var{t} = 2}, return a transposed and permuted version of |
30 ## @code{pascal (@var{n}, 1)}, which is the cube-root of the identity | 30 ## @code{pascal (@var{n}, 1)}, which is the cube-root of the identity |
31 ## matrix. That is @code{pascal (@var{n}, 2) ^ 3 == eye (@var{n})}. | 31 ## matrix. That is @code{pascal (@var{n}, 2) ^ 3 == eye (@var{n})}. |
32 ## | 32 ## |