Given a polynomial f, the command f.factor()
gives the factorization of f. I want to find out the number of factors of f. Is there any command for that ?
1 | initial version |
Given a polynomial f, the command f.factor()
gives the factorization of f. I want to find out the number of factors of f. Is there any command for that ?
Given a polynomial f, the command f.factor()
gives the factorization of f. I want to find out the number of factors of f. Is there any command for that ?
The polynomial ring is assumed to be ZZ[x]
.