comparison scripts/special-matrix/pascal.m @ 9051:1bf0ce0930be

Grammar check TexInfo in all .m files Cleanup documentation sources to follow a few consistent rules. Spellcheck was NOT done. (but will be in another changeset)
author Rik <rdrider0-list@yahoo.com>
date Fri, 27 Mar 2009 22:31:03 -0700
parents 853f96e8008f
children 2e35cfcf6a6a
comparison
equal deleted inserted replaced
9044:656ad518f385 9051:1bf0ce0930be
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} pascal (@var{n}, @var{t}) 20 ## @deftypefn {Function File} {} pascal (@var{n}, @var{t})
21 ## 21 ##
22 ## Return the Pascal matrix of order @var{n} if @code{@var{t} = 0}. 22 ## Return the Pascal matrix of order @var{n} if @code{@var{t} = 0}.
23 ## @var{t} defaults to 0. Return lower triangular Cholesky factor of 23 ## @var{t} defaults to 0. Return lower triangular Cholesky factor of
24 ## the Pascal matrix if @code{@var{t} = 1}. This matrix is its own 24 ## the Pascal matrix if @code{@var{t} = 1}. This matrix is its own
25 ## inverse, that is @code{pascal (@var{n}, 1) ^ 2 == eye (@var{n})}. 25 ## inverse, that is @code{pascal (@var{n}, 1) ^ 2 == eye (@var{n})}.
26 ## If @code{@var{t} = 2}, return a transposed and permuted version of 26 ## If @code{@var{t} = 2}, return a transposed and permuted version of
27 ## @code{pascal (@var{n}, 1)}, which is the cube-root of the identity 27 ## @code{pascal (@var{n}, 1)}, which is the cube-root of the identity
28 ## matrix. That is @code{pascal (@var{n}, 2) ^ 3 == eye (@var{n})}. 28 ## matrix. That is @code{pascal (@var{n}, 2) ^ 3 == eye (@var{n})}.
29 ## 29 ##
30 ## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz 30 ## @seealso{hankel, vander, sylvester_matrix, hilb, invhilb, toeplitz
31 ## hadamard, wilkinson, compan, rosser} 31 ## hadamard, wilkinson, compan, rosser}