#20015: Sanitize matrix constructor
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-7.1
Component: linear algebra | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers: Nils Bruin, Vincent
Report Upstream: N/A | Delecroix
Branch: | Work issues:
u/jdemeyer/ticket/20015 | Commit:
Dependencies: | d9e215030b8c8ad6c2707e2f9f16f326362b7c3f
| Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:29 vdelecroix]:
> Fine for me. Could you at least replace "coerce" by "convert" in the
error message?
>
> The following should be coherent between various ring as well
> {{{
> sage: matrix(ZZ,2,2,'1234')
> [1 2]
> [3 4]
> sage: matrix(QQ,2,2,'1234')
> [1234 0]
> [ 0 1234]
> }}}
Can we please leave both of these for #20211? This ticket deals with the
higher-level matrix constructor, not with how matrices are initialized
from the given entries.
--
Ticket URL: <http://trac.sagemath.org/ticket/20015#comment:30>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.