# TwoFactorize F¶

doFactor(p, n, ext?) returns the factorisation of polynomial p, p is assumed to be primitive and squarefree, n is degree in auxilary variable, ext? if false inhibits use of extension field.
generalSqFr(p) returns the square-free factorisation of polynomial p, a sparse univariate polynomial (sup) over a sup over F.
generalTwoFactor(p) returns the factorisation of polynomial p, a sparse univariate polynomial (sup) over a sup over F.
tryTwoFactor(p) returns the factorisation of polynomial p, if it does not require using field extensions, otherwise returns p unfactored (nil factorization).
twoFactor(p, n) returns the factorisation of polynomial p, a sparse univariate polynomial (sup) over a sup over F. Also, p is assumed primitive and square-free and n is the degree of the inner variable of p (maximum of the degrees of the coefficients of p).