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

trac_11860_degree_ideal.patch Download (1.3 KB) - added by dangtuanhiep 20 months ago.

Change History

Changed 20 months ago by dangtuanhiep

Note: See TracTickets for help on using tickets.