#13435: Cartesian Product method for Sets
------------------------------+---------------------------------------------
   Reporter:  chrisjamesberg  |             Owner:  Chris Berg                
       Type:  defect          |            Status:  new                       
   Priority:  major           |         Milestone:  sage-5.4                  
  Component:  PLEASE CHANGE   |          Keywords:  Cartesian Product for sets
Work issues:                  |   Report Upstream:  N/A                       
  Reviewers:                  |           Authors:  Chris Berg                
  Merged in:                  |      Dependencies:                            
   Stopgaps:                  |  
------------------------------+---------------------------------------------
 Right now, Sets has a method CartesianProduct (not to be confused with
 cartesian_product). The documentation says that this is the class for
 implementing cartesian_product. Does this belong as a method in the global
 namespace for sets? I can't think why the user would want this method to
 come up, when all it says is to use cartesian_product instead.

 For instance:

 {{{
 S = Set([1,2])
 S.CartesianProduct(S)
 Traceback (click to the left of this block for traceback)
 ...
 TypeError: __init__() takes at least 3 arguments (2 given)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13435>
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