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