SharedMeatAxe
1.0
|
ztc [Options] [-G] Inp
This program reads a matrix or permutation calculates its trace and outputs this to the user. If the input file is a matrix, it is read row by row and the diagonal entries are added up. Note that the matrix need not be square. The result is printed in the form
Trace is N
For permutations, the trace is calculated as the number of fixed points.