On Jan 10, 7:04 pm, javier <vengor...@gmail.com> wrote:
[...]
> For instance if
> you create a gap matrix (with integral coefficients)
well, there no "static type" matrices in GAP (well, unless you work
with, say, matrix Lie algebras, and have multiplication overloaded).
They are just lists of lists of right sizes, with entries in a common
ring.

I am surprised to hear that Sage is less flexible here (ok ,there
could be, say, special matrices, say, dense numeric
and bit matrices, that deserve a special treatment, but otherwise this
seems strange...)

> it gets converted
> back into a list of lists and not into a sage matrix:
>
> sage: A = gap([[1,2],[2,3]])
> sage: A.IsMatrix()
> true
> sage: B = A.sage()
> sage: B
> [[1, 2], [2, 3]]
> sage: type(B)
> <type 'list'>
>
so I'd rather see Sage becoming more GAP-like in this sense,
although I realise this may not happen soon or ever...

Dmitrii
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to