#13611: block_matrix forgets subdivisions of submatrices
------------------------------+---------------------------------------------
   Reporter:  jsrn            |             Owner:  jason, was  
       Type:  defect          |            Status:  new         
   Priority:  minor           |         Milestone:  sage-5.5    
  Component:  linear algebra  |          Keywords:  block_matrix
Work issues:                  |   Report Upstream:  N/A         
  Reviewers:                  |           Authors:              
  Merged in:                  |      Dependencies:              
   Stopgaps:                  |  
------------------------------+---------------------------------------------
 Writing the following
 {{{
 m = matrix(ZZ,2,2, [1,2,3,4])
 M=block_matrix([m,m],nrows=1)
 block_matrix([M,M],ncols=1)
 }}}
 should return the same as
 {{{
 m = matrix(ZZ,2,2, [1,2,3,4])
 block_matrix([m,m,m,m],nrows=2)
 }}}
 However, the former forgets the subdivided structure of M when
 constructing the second block-matrix.

 The above will not be possible in cases where the sub-sub-divisions do not
 line up, but in cases where it is, there seems to be no reason to throw
 away this information. In particular, it makes block_matrix much more
 useful for iteratively constructing a large matrix while still retaining
 the most detailed level of sub-divisions (since there is no notion of
 multi-level sub-divisions).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13611>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to