REALLY ????.... The group is internally 4-tuples, but it only accepts 3-uples as input.
sage: g=groups.misc.AdditiveAbelian([2,2,2,3]); g Additive abelian group isomorphic to Z/2 + Z/2 + Z/6 sage: print list(g) [(0, 0, 0, 0), (0, 0, 1, 2), (0, 0, 0, 1), (0, 0, 1, 0), (0, 0, 0, 2), (0, 0, 1, 1), (1, 0, 0, 0), (1, 0, 1, 2), (1, 0, 0, 1), (1, 0, 1, 0), (1, 0, 0, 2), (1, 0, 1, 1), (0, 1, 0, 0), (0, 1, 1, 2), (0, 1, 0, 1), (0, 1, 1, 0), (0, 1, 0, 2), (0, 1, 1, 1), (1, 1, 0, 0), (1, 1, 1, 2), (1, 1, 0, 1), (1, 1, 1, 0), (1, 1, 0, 2), (1, 1, 1, 1)] sage: g([1,1,1,1]) ... TypeError: length of v must be at most the number of rows of self sage: g([1,1,1]) (1, 1, 1, 2) Does not make any sense .... Nathann -- You received this message because you are subscribed to the Google Groups "sage-support" 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-support. For more options, visit https://groups.google.com/d/optout.
