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.
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
dcterms:subject | |
abstract |
|