On Wed, Jul 23, 2014 at 7:56 AM, Nathann Cohen <nathann.co...@gmail.com> wrote: > Yooooooooooooo !! > >> Is this a confusion over categories, Nathann? > > > Or natural stupidity, your choice. > >> sage: G1 = CyclicPermutationGroup(5) >> sage: G2 = CyclicPermutationGroup(4) >> sage: D1 = G1.direct_product(G2,False) >> sage: D2 = D1.direct_product(G2,False) >> sage: D2.base_ring() >> Integer Ring > > > Sooooooo it has the same symbol as the cartesian product, it has the same > definition, yet it is called a direct product. Thank you T_T > > What is the meaning of cartesian product, then ? And what do we do with the > broken functions ?
I assume cartesian product coerces the object into a set and takes the product. Honestly, I don't know the intent of the broken functions, so can't say for sure. Maybe the person who originally wrote them is still around? Guesses: "base_ring" makes no sense in the category of sets. Nor does "gens_dict", AFAIK "first" I assume means first factor in the product, and similarly for "last". I don't know why they don't work. They should return the set associated to the first (resp., last) factor in the product. > > Nathann > > -- > 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/d/optout. -- 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/d/optout.