TMtx.Pascl Method

TMtx Pascl(Int32 Order)

Constructs a Pascal matrix.

#NameTypeDescription
1OrderInt32

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 Dew.Math.TMtx.Rows, Dew.Math.TMtx.Cols and Dew.Math.TMtxVec.Complex properties of the calling matrix are adjusted automatically.