Returns a one-dimensional matrix containing one of a matrix's diagonals. The diagonal returned starts in the upper-left corner and ends in the lower-right corner. This will cause a Dimension Error unless the matrix is a square matrix. :diag(list) :diag(one-dimensional matrix) This returns a matrix that has the specified diagonal, and contains zeros in all other positions.
Identifier (URI) | Rank |
---|---|
dbkwik:resource/_hVSmk4ceUKxftbWuSuEfg== | 5.88129e-14 |