# AlgebraicMultFact(OV, E, P)¶

factor(p, lan) factors the polynomial p over the extension generated by the algebraic numbers given by the list lan.
factor(p, lan) factors the polynomial p over the extension generated by the algebraic numbers given by the list lan. p is presented as a univariate polynomial with multivariate coefficients.