hughesadam87 / PAME

Personal programs for fiber optic nanobiosensing simulations.
Other
5 stars 5 forks source link

Root finder should use scipy not mpmath #15

Open hughesadam87 opened 9 years ago

hughesadam87 commented 9 years ago

Haven't tested, but do any of these rootfinders just work on complex function? Would have added benefit of being vectorized...

http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.optimize.root.html

Related question on stack doesn't clearly answer if complex roots possible

http://stackoverflow.com/questions/15213141/how-to-do-nonlinear-complex-root-finding-in-python