[2] a scalar matrix? code example
Example: scalar matrix
A matrix with equal-values across the diagonal.
// scalar matrix:
[
0 1 2
2 0 1
3 2 0
]
A matrix with equal-values across the diagonal.
// scalar matrix:
[
0 1 2
2 0 1
3 2 0
]