Navigation

Operators and Keywords

Function List:

C++ API

: pascal (n)
: pascal (n, t)

Return the Pascal matrix of order n if t = 0.

The default value of t is 0.

When t = 1, return the pseudo-lower triangular Cholesky factor of the Pascal matrix (The sign of some columns may be negative). This matrix is its own inverse, that is pascal (n, 1) ^ 2 == eye (n).

If t = -1, return the true Cholesky factor with strictly positive values on the diagonal.

If t = 2, return a transposed and permuted version of pascal (n, 1), which is the cube root of the identity matrix. That is, pascal (n, 2) ^ 3 == eye (n).

See also: chol.

Package: octave