[Scipy-tickets] [SciPy] #1623: complex_ode instance to return a complex array

SciPy Trac scipy-tickets@scipy....
Mon Mar 19 16:07:00 CDT 2012


#1623: complex_ode instance to return a complex array
-----------------------------+----------------------------------------------
 Reporter:  borishim         |       Owner:  somebody   
     Type:  enhancement      |      Status:  new        
 Priority:  normal           |   Milestone:  Unscheduled
Component:  scipy.integrate  |     Version:  devel      
 Keywords:  complex_ode      |  
-----------------------------+----------------------------------------------
 scipy.integrate.complex_ode solves a complex valued problem by converting
 the problem to an equivalent real valued one. However, the member variable
 y of the class instance is a not a complex array but a float array filled
 with alternating real and imaginary parts. This behavior is not documented
 clearly.
 I changed the name of the member variable self.y to self._y and added a
 getter using property decorator. This patch should be backward compatible
 for existing real valued problems and more convenient for complex valued
 problems.

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


More information about the Scipy-tickets mailing list