[Scipy-tickets] [SciPy] #1128: linalg.block_diag add atleast_2d

SciPy Trac scipy-tickets@scipy....
Sun Mar 21 22:22:49 CDT 2010


#1128: linalg.block_diag  add atleast_2d
--------------------------+-------------------------------------------------
 Reporter:  josefpktd     |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:  0.8.0   
Component:  scipy.linalg  |     Version:  0.7.0   
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by warren):

 Converting the arguments with atleast_2d() is a good a idea.  Then
 something like
 {{{
 >>> a = block_diag(9, [10, 11], [[1,2],[3,4]])
 }}}
 would do what you think it should do.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1128#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list