Closed
Description
Suggestion: copy what Sage does to answer questions about basic Ideal properties.
R.<z> = PolynomialRing(FiniteField(7))
P = Ideal(R, z^4-1,z^3-3*z^2+3*z-1)
P.is_principle()
True
Sage has
- is_principle
- is_prime
- is_primary
- is_maximal
- is_idempotent
- is_reducible? -- I don't see this one in tab-completion, but it could be nice to have
Knowing these properties can likely speed up other algorithms as well.
Metadata
Metadata
Assignees
Labels
No labels