matrixp SciMax Toolbox max

SciMax Toolbox >> mattrace

mattrace

Maxima Function

Calling Sequence

mattrace (M)

Description

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.

load ("nchrpl") loads this function.

matrixp SciMax Toolbox max