[Scipy-tickets] [SciPy] #1303: lobpcg mishandles complex matrices

SciPy Trac scipy-tickets@scipy....
Wed Oct 13 14:49:20 CDT 2010


#1303: lobpcg mishandles complex matrices
---------------------------------+------------------------------------------
 Reporter:  pv                   |       Owner:  wnbell
     Type:  defect               |      Status:  new   
 Priority:  normal               |   Milestone:  0.9.0 
Component:  scipy.sparse.linalg  |     Version:  0.8.0 
 Keywords:  lobpcg eigen         |  
---------------------------------+------------------------------------------
 http://permalink.gmane.org/gmane.comp.python.scientific.user/26517

 Apparently, with complex-valued input matrix:

 ========================== *snip* ==========================
 /opt/scipy/0.8.0/lib/python/scipy/sparse/linalg/eigen/lobpcg/lobpcg.py:457:
 ComplexWarning: Casting complex values to real discards the imaginary
 part
   eigBlockVector = np.asarray( eigBlockVector[:,ii].astype( np.float64 ) )
 ========================== *snap* ==========================

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


More information about the Scipy-tickets mailing list