Maxima Function
mattrace (M)
Returns the trace (that is, the sum of the elements on the main diagonal) of the square matrix M.
mattrace is called by ncharpoly, an alternative to Maxima's charpoly.
mattrace
ncharpoly
charpoly
load ("nchrpl") loads this function.
load ("nchrpl")