/* fsagrowth.c 22/5/95 * 20/12/00 minor change to output to file for GAP4 interface. * WRITTEN BY LAURENT BARTHOLDI. * Counts the growth series of a fsa * * SYNOPSIS: fsagrowth [-ip d/s] [-v] [-var v] [-primes x,y...] [filename]); * * Input is from filename, which should contain a fsa. * Output is to filename.growth, and contains the growth series * of the finite state automaton. * * OPTIONS: * -ip d/s input in dense or sparse format - dense is default * -v set kbm_print_level to 2 * -var v express answer as a rational in v (X default) * -primes x,y... specifies the primes modulo which the computations should * be performed. It must be a comma-separated sequence of * integers with no white space. No check is made to ensure the * suggested values are indeed primes. * By default, the computations are done modulo three * cable-wired primes just less than 2^15. * (If you use primes bigger than 2^15, then it is possible that * integer overflow could occur in the routine mod_solve * without you knowing it!) * If the results are not consistent, then a warning is printed to * stderr, and the exit code is 2. * If the results agree with each other, then they are likely * to be correct (in the integers) and the exit code is 0. *
*/
fsa_clear(&testfsa); if (!consistent) {
fprintf(stderr, "WARNING: The polynomials modulo the primes chosen were " "not consistent.\n");
fprintf(stderr, " so the integral coefficients output are unlikely " "to be correct.\n"); exit(2);
} exit(0);
}
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.