[Scipy-tickets] [SciPy] #1767: scipy.sparse.identity() should return DIAagonal format.

SciPy Trac scipy-tickets@scipy....
Mon Nov 5 05:31:36 CST 2012


#1767: scipy.sparse.identity() should return DIAagonal format.
-----------------------+----------------------------------------------------
 Reporter:  johntyree  |       Owner:  somebody   
     Type:  defect     |      Status:  new        
 Priority:  normal     |   Milestone:  Unscheduled
Component:  Other      |     Version:  0.11.0     
 Keywords:             |  
-----------------------+----------------------------------------------------
 scipy.sparse.identity() seems like the canonical example of a diagonal
 matrix, but it returns a CSR format matrix.

 scipy.sparse.eye() does return a DIAgonal matrix.

 Is there a reason to be inconsistent here that I'm unaware of?

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


More information about the Scipy-tickets mailing list