function Kac(n: Integer): TMtx;
Construct the Kac (Clement) matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | n | Integer |
Result: stored in self (calling object), returns self for chaining
Remarks:
Constructs the so called Kac (Clement) (n+1)x(n+1) tridiagonal matrix, defined by:
| 0, n, 0, ... , 0 |
| 1, 0, n-1, 0, ..., 0 |
| 0, 2, 0, n-2, 0, ... |
| ...........n-1, 0, 1 |
| 0, ... ........, n, 0|
The eigenvalues of so defined matrix are 2k-n for k=0,1,2,...,n.