The values which should be put on the diagonal
Do the matrix to the power of a number
The power which should be applied on the matrix
Return the values of this matrix as a 1D array
Converts matrix to a String. See example below:
┌ ┐
│ -1,00 -1,92 -1,80 -0,92 0,25 │
│ 0,05 0,99 0,25 -0,50 -0,19 │
│ 0,98 -1,94 -1,35 0,22 -0,88 │
│ -0,85 -1,63 0,07 -0,39 -0,24 │
│ 0,45 -0,33 -1,14 0,07 -0,61 │
└ ┘
Generated using TypeDoc
Create a diagonal matrix from an array of values