On Wed, Nov 06, 2013 at 06:41:28PM +0100, Nathann Cohen wrote: > ... > a) G.cartesian_product() > b) G.CartesianProduct() (yes, it has a .cartesian_product method > c) The global CartesianProduct function > > sage: G2=CartesianProduct(G,G) > sage: G2((1,1)) > [1, 1] > sage: G2((1,1))+G2((1,1)) > TypeError: can only concatenate list (not "CombinatorialObject") to > list > sage: G2((1,1))*G2((1,1)) > TypeError: unsupported operand type(s) for *: > 'CombinatorialObject' and 'CombinatorialObject'
For the record, I created #15425 for this and further issues with cartesian products. Cheers, Nicolas -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.