/* find the structure of a pcp generator, gen, recursively from struct, storing the result in y[pcp->lused + k] to y[pcp->lused + pcp->cc];
room is needed to store a string of length pcp->cc */
do {
i = PART2(y[pcp->structure + gen]);
j = PART3(y[pcp->structure + gen]);
if (j != 0) {
--(*k);
y[pcp->lused + *k] = j;
gen = i;
} else { /* we have a power entry -- work out its structure recursively; the structure (d^p)^j, where d is a defining generator, has
weight j + 1 and thus its structure is j + 1 copies of d */
j = 2; while (i > pcp->ndgen) {
i = PART2(y[pcp->structure + i]);
++j;
} for (; j > 0; --j, --(*k))
y[pcp->lused + *k] = i;
}
} while (i != 0);
}
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
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.