MeatAxe
2.4

zcf Options q Input Output
This program converts between various data types. Currently there are two kinds of conversions available:
For matrices, the conversion is done in two steps. First, all entries of the matrix are converted to integers. Then, they are mapped to the new field and reassembled into rows. The result is written out row by row.
In case of permutations the output matrix is generated row by row by inserting ones at the positions specified by the permutation.
If the input is a matrix, the whole matrix must fit into memory. Additionally, the program needs n⋅m⋅s bytes of memory, where m and n are the dimensions of the input matrix and s=1 for the small arithmetic version and s=2 for the big version. In case of permutations, the input permutation and one row of the output file must fit into memory.