next up previous contents index
Next: invMat2[mat] Up: Block Matrix Manipulation Previous: NCCheckPermutation[SizeOfMatrix, aListOfPermutations]   Contents   Index

Diag[aMatrix]

Aliases: None.
Description: Returns the elements of the diagonal of a matrix.
Arguments: None.
Comments / Limitations: The code is Flatten[MapIndexed[Part,m]].



NCAlgebra Project 2002-09-09