Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add inverse_of_unit to list of methods in polynomial quotient ring
Browse files Browse the repository at this point in the history
  • Loading branch information
roed314 authored and David Roe committed Jun 9, 2017
1 parent 4c1dee4 commit baee716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/rings/polynomial/polynomial_quotient_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class of the category, and store the current class of the quotient
sage: isinstance(Q.an_element(),Q.element_class)
True
sage: [s for s in dir(Q.category().element_class) if not s.startswith('_')]
['cartesian_product', 'is_idempotent', 'is_one', 'is_unit', 'lift', 'powers']
['cartesian_product', 'inverse_of_unit', 'is_idempotent', 'is_one', 'is_unit', 'lift', 'powers']
sage: first_class = Q.__class__
We try to find out whether `Q` is a field. Indeed it is, and thus its category,
Expand All @@ -285,6 +285,7 @@ class of the category, and store the current class of the quotient
'euclidean_degree',
'factor',
'gcd',
'inverse_of_unit',
'is_idempotent',
'is_one',
'is_unit',
Expand Down

0 comments on commit baee716

Please sign in to comment.