#15369: IntegerVectors/FreeModules/AdditiveAbelianGroup of dimension 1 do not
accept 5 as input and expect [5]
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-5.13
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  combinatorics          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  7df421a36ad515f6b2c3cf9178dbcccfb05161c8
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/ncohen/15369         |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by ncohen):

 > That's not what you're asking sage to do. You're asking for a finite
 abelian group, written additively, that happens to be cyclic of order 5.
 If you know your group is going to be cyclic, you'd probably be better off
 asking for a cyclic group explicitly.

 Well. I want an additive Cyclic group. How can I build that ? This was my
 original problem, and I was told AdditiveAbelianGroup was the way to
 obtain it.

 > So I'd agree with Volker that lists are more natural here.

 If there exists an Additive Cyclic group somewhere, I agree.

 > At the same time you're asking for conversion, which is supposed to make
 a best effort, so adding a special case wouldn't be out of the question,
 even if it's an ugly special case.

 I'm sorry if it is ugly. I really don't know these classes and they are
 all using each other, so I am always afraid something wrong might happen
 somewhere `:-/`

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/15369#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/groups/opt_out.

Reply via email to