9 Jul
2001
9 Jul
'01
10:09 a.m.
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