#11860: Degree of ideals
-----------------------------------+----------------------------------------
   Reporter:  dangtuanhiep         |          Owner:  malb               
       Type:  defect               |         Status:  new                
   Priority:  trivial              |      Milestone:  sage-4.7.2         
  Component:  commutative algebra  |       Keywords:  degree, ideal, sd34
Work_issues:                       |       Upstream:  N/A                
   Reviewer:                       |         Author:  Hiep Dang          
     Merged:                       |   Dependencies:                     
-----------------------------------+----------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11860>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to