scipy.optimize.root
Hello,
I'm trying to use scipy.optimize.root without any luck (http://docs.scipy.org/doc/scipy/refer...). An import attempt returns: "'module' object has no attribute 'root'"
Any suggestions on how I can get this module?
Thanks, jv
Methods tried:
"import scipy from scipy import optimize from scipy.optimize import root"
"import scipy from scipy import optimize sol = optimize.root(q, [0., 0.])"
`root` was only introduced in 0.11.0; `import scipy; print scipy.__version__` gives 0.9.0 in Sage 5.3. I don't think you're doing anything wrong, it's just that Sage's `scipy` is out of date with respect to that doc.