[Numpy-tickets] [NumPy] #943: Add "blkdiag" command from MATLAB

NumPy numpy-tickets@scipy....
Mon Oct 27 05:50:37 CDT 2008


#943: Add "blkdiag" command from MATLAB
--------------------------+-------------------------------------------------
 Reporter:  chrismurf     |       Owner:  somebody
     Type:  enhancement   |      Status:  new     
 Priority:  low           |   Milestone:          
Component:  numpy.linalg  |     Version:  none    
 Severity:  trivial       |    Keywords:          
--------------------------+-------------------------------------------------
 A command similar to MATLAB's "blkdiag" would be handy in Numpy.  I'm not
 sure what the correct component is for this - I can imagine it going in
 the normal namespace like 'diag', but tagged the numpy.linalg component in
 case it's deemed unworthy of the normal namespace.

 I've attached an example implementation, which almost certainly breaks
 every Numpy coding convention (but is functional).  If there's interest
 but the code quality is not acceptable, I'm happy to clean it up for
 inclusion.

-- 
Ticket URL: <http://www.scipy.org/scipy/numpy/ticket/943>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list