Open 19aff6ad-dfaf-4c86-bfdb-da1a67aed9f3 opened 12 years ago
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
CC: @burcin
Component: commutative algebra
Keywords: degree, ideal, sd34
Author: Hiep Dang
Issue created by migration from https://trac.sagemath.org/ticket/11860
Attachment: trac_11860_degree_ideal.patch.gz
Returns the degree of a homogeneous ideal.
EXAMPLES::
CC: @burcin
Component: commutative algebra
Keywords: degree, ideal, sd34
Author: Hiep Dang
Issue created by migration from https://trac.sagemath.org/ticket/11860