Diagonal(V) = Diagonal matrix from a column or row vector V:
Returns a diagonal matrix with its diagonal elements equal to the column or row vector V and the off diagonal elements equal to zero.
Return to Matrix and Polynomial Computations
Return to Harry's Home Page