DIAG-> - Array to Matrix Diagonal Command

Takes an array and a specified dimension and returns a matrix whose major diagonal elements are the elements of the array.

Level 2Level 1->Level 1
array ]diagonalsdim }->[[ matrix ]]

Adrian Drury
Last modified: Thu Jun 4 21:36:38 EDT 1998