[Scipy-tickets] [SciPy] #313: Support for Kronecker sum

SciPy scipy-tickets@scipy....
Tue Feb 19 13:17:23 CST 2008


#313: Support for Kronecker sum
--------------------------+-------------------------------------------------
 Reporter:  nils          |        Owner:  somebody
     Type:  enhancement   |       Status:  new     
 Priority:  normal        |    Milestone:  0.7     
Component:  scipy.linalg  |      Version:  devel   
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by nils):

 Fixed in svn.

 {{{
 >>> import scipy
 >>> from scipy.sparse import kron, kronsum
 >>> scipy.__version__
 '0.7.0.dev3946'
 >>> from scipy import random
 >>> A = random.rand(2,2)
 >>> B = random.rand(2,2)
 >>> C = kronsum(A,B)
 >>> C
 <4x4 sparse matrix of type '<type 'numpy.float64'>'
         with 16 stored elements (blocksize = 2x2) in Block Sparse Row
 format>
 }}}

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


More information about the Scipy-tickets mailing list