#18720: Change diagram algebra basis set partitions from list to generator
-------------------------------------+-------------------------------------
       Reporter:  ghseeli            |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  minor              |    Milestone:  sage-6.8
      Component:  algebra            |   Resolution:
       Keywords:  days65, partition  |    Merged in:
  algebra, diagram algebra           |    Reviewers:
        Authors:  ghseeli            |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  c179733742da1d36d3ca7bd8e856be902cb5f30e
  u/ghseeli/change_diagram_algebra_basis_set_partitions_from_list_to_generator| 
    Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by ghseeli):

 I have a question about making the various other classes and objects
 evaluate as equal with the Diagram classes. Doing this allows the user to
 create algebra elements that can misbehave. For instance


 {{{
 sage: P = PartitionAlgebra(2,x)
 sage: elm = P.basis()[((1,2),(-1,-2))]; elm
 P[((1, 2), (-1, -2))]
 sage: type(elm.support()[0])
 <type 'tuple'>
 sage: elm^2
 Traceback (most recent call last)
 ...
 AttributeError: 'tuple' object has no attribute 'compose'
 }}}

 This isn't insurmountable, but will I have to put a lot of coercion
 throughout all the diagram methods to make this exhibit the desired
 behavior?

--
Ticket URL: <http://trac.sagemath.org/ticket/18720#comment:9>
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