Matrix.Pascl Method

function Pascl(Order: Integer): TMtx;

Constructs a Pascal matrix.

#NameTypeDescription
1OrderInteger

Result: stored in self (calling object), returns self for chaining

Remarks:

Construct a Pascal matrix of order Order with integer elements, taken from the Pascal's triangle. The Pascal matrix is by definition symmetric positive definite. The Pascal matrix is written to the calling matrix. The Matrix.Rows, Matrix.Cols and Matrix.Complex properties of the calling matrix are adjusted automatically.