#16953: Faster enumeration of points for toric varieties
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  algebraic          |   Resolution:
  geometry                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Volker Braun       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  266d921d01f02e1301fb9e2981599fd17d71b152
  u/vbraun/faster_enumeration        |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by ursula):

 Asking for the cardinality of a toric variety raises a Not Implemented
 Error:

 {{{
 P4.<z0,z1,z2,z3,z4> = toric_varieties.P(4)
 11
 P4.cardinality()
 12
 Error in lines 2-2
 Traceback (most recent call last):
   File "/projects/fbc7bfa1-2c3e-4abc-
 b8d5-3a0b959a311d/.sagemathcloud/sage_server.py", line 865, in execute
     exec compile(block+'\n', '', 'single') in namespace, locals
   File "", line 1, in <module>
   File "/projects/fbc7bfa1-2c3e-4abc-
 b8d5-3a0b959a311d/sage-6.3-x86_64-Linux/local/lib/python2.7/site-
 packages/sage/categories/sets_cat.py", line 1322, in cardinality
     raise NotImplementedError("unknown cardinality")
 NotImplementedError: unknown cardinality
 }}}

 Should P4.cardinality() have the same output as
 P4.point_set().cardinality()?

--
Ticket URL: <http://trac.sagemath.org/ticket/16953#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to