/* ** Print the epimorphism. It is sufficient to list the images.
*/
printf("NqImages := [\n"); for (i = 1; i <= NumberOfAbstractGens(); i++) {
printGapWord(Epimorphism(i));
printf(",\n");
}
printf("];\n");
printf("NqClass := %d;\n", Class);
printf("NqRanks := [ "); for (i = 1; i <= Class; i++) printf(" %d,", Dimension[i]);
printf("];\n");
} #endif
staticvoid printRawWord(word w) { int nrc = 15; /* something has already been printed */
int i, j; int cl = Class + (NrCenGens == 0 ? 0 : 1);
/* ** Output the number of generators first and their relative ** orders.
*/
printf("NqNrGenerators := %d;\n", NrPcGens + NrCenGens);
printf("NqRelativeOrders := [ "); for (i = 1; i <= NrPcGens + NrCenGens; i++) {
printf(EXP_FORMAT",", Exponent[i]); if (i % 30 == 0) printf("\n ");
}
printf(" ];\n");
/* ** Print weight information.
*/
printf("NqClass := %d;\n", Class);
printf("NqRanks := ["); for (i = 1; i <= cl; i++) printf(" %d,", Dimension[i]);
printf("];\n");
/* ** Print the epimorphism. It is sufficient to list the images.
*/
printf("NqImages := [\n"); for (i = 1; i <= NumberOfAbstractGens(); i++) {
printf(" [ ");
printRawWord(Epimorphism(i));
printf("], # image of generator %d\n", i);
}
printf("];\n");
/* ** Print the power relations.
*/
printf("NqPowers := [\n"); for (i = 1; i <= NrPcGens + NrCenGens; i++) if (Exponent[i] != (expo)0 &&
Power[i] != (word)0 && Power[i]->g != EOW) {
printf(" [ %d, ", i);
printRawWord(Power[i]);
printf(" ],\n");
}
printf("];\n");
/* ** Print the conjugate relations.
*/
printf("NqConjugates := [\n"); for (j = 1; j <= NrPcGens; j++) { for (i = 1; i < j && Wt(i) + Wt(j) <= cl; i++) {
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.