Factorization
Stefan Weinzierl
stefanw at fis.unipr.it
Mon Jul 9 10:09:37 CEST 2001
Gentlemen,
we wrote some small routines which integrates the factorization of
univariate polynomials into the GiNaC framework.
The hard work is done by the NTL library, we just wrote the necesarry
conversion routines for (possibly very long) integers and a function
ex polyfactor( const ex &PolyIn, const symbol &x )
which factorizes PolyIn if it is a univariate polynomial in x.
The source code is in the latest verstion of gTybalt (0.0.6) and is
quite independent of gTybalt.
Feel free to use this code, we don't have any plans to move on to
multivariate polynomials.
Stefan
More information about the GiNaC-devel
mailing list