MeatAxe  2.4
ztc - Trace

Command Line

ztc [Options] [-G] Inp 
Options
Standard options, see Standard Command Line Options
-G
GAP output.
Inp
Input matrix or permutation.

Input Files

Inp
Input matrix or permutation.

Description

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.


MeatAxe 2.4 documentation, generated on Mon Jun 7 2021 11:42:24