Ticket #11860 (new defect)
Opened 20 months ago
Degree of ideals
| Reported by: | dangtuanhiep | Owned by: | malb |
|---|---|---|---|
| Priority: | trivial | Milestone: | sage-5.10 |
| Component: | commutative algebra | Keywords: | degree, ideal, sd34 |
| Cc: | burcin | Work issues: | |
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Hiep Dang | Merged in: | |
| Dependencies: | Stopgaps: |
Description
Returns the degree of a homogeneous ideal.
EXAMPLES::
sage: R.<x,y> = QQ[] sage: I = R.ideal(x+y) sage: I.degree() 1 sage: J = R.ideal(x^2+y) sage: J.degree() Traceback (most recent call last) ... TypeError: Ideal should be homogeneous
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

