ztc man page

ztc — calculate matrix or permutation trace


ztc [Options] <File>


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.



Quiet, no messages.


Verbose, more messages.

-T <MaxTime>

Set CPU time limit


Produce output in GAP format.  This option implies -Q.

Input Files


The matrix or permutation.


2.4.24 MeatAxe User Commands