TMtx AddDiag(TVec DiagMtx)
Adds (main) diagonal matrix to the calling matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | DiagMtx | TVec | source TVec |
Result: stored in self (calling object), returns self for chaining
Remarks:
The diagonal matrix is non-zero only at the main diagonal.