#10793: Matrices can be "constructed" from matrices of wrong dimensions
------------------------------+---------------------------------------------
   Reporter:  vbraun          |       Owner:  jason, was
       Type:  defect          |      Status:  new       
   Priority:  critical        |   Milestone:  sage-4.6.2
  Component:  linear algebra  |    Keywords:            
     Author:                  |    Upstream:  N/A       
   Reviewer:                  |      Merged:            
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by jason):

 So it seems that the problem here is that in converting to an element of
 the matrix space, it views the entries of the matrix (or indeed, the
 entries of a nested list as well) as a flattened list:

 {{{
 sage: M
 Full MatrixSpace of 3 by 2 dense matrices over Integer Ring
 sage: M([[1,2,3],[4,5,6]])
 [1 2]
 [3 4]
 [5 6]
 }}}

 So I guess you're saying that MatrixSpace shouldn't flatten the list, but
 instead should throw an error?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10793#comment:2>
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 post to this group, send email to sage-trac@googlegroups.com.
To unsubscribe from this group, send email to 
sage-trac+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to