/* A is matrix, FILENAME is file name */ def asir2bin_charpoly_minipoly(A,FILENAME){ N=size(A)[0]$ Z=0$ for(I=0;I