![](https://secure.gravatar.com/avatar/63795e99a276d44683bf4d3a8866306e.jpg?s=120&d=mm&r=g)
On 2017-05-14 00:37, Matt Haberland wrote:
Hi Ashwin,
Like scipy.optimize.fsolve, scipy.optimize.root [2] finds the solution of a nonlinear vector valued function, that is, the the solution of a system of nonlinear equations. Based on this [3] it appears that the difference between root and fsolve is that fsolve requires the dimension of the input (e.g. x0) to be the same as the dimension of the output (e.g. return of f) but I haven't confirmed by testing. I agree that this is not immediately apparent from the documentation (and this might be something you could clear up). Also, can others chime in on why they are separate? Backwards compatibility?
Matt
On Sat, May 13, 2017 at 9:55 AM, ashwin.pathak <ashwin.pathak@students.iiit.ac.in> wrote:
Hi Developers,
I was trying to gain some knowledge about scipy.optimize and was trying to fix #7322 but I am unable to understand what exactly does the scipy.optimize.root() does. There is a lack of resource, can someone suggest me any resources or explain it to me?
Thank you _______________________________________________ SciPy-Dev mailing list SciPy-Dev@python.org https://mail.python.org/mailman/listinfo/scipy-dev [1]
--
Matt Haberland Assistant Adjunct Professor in the Program in Computing Department of Mathematics 7620E Math Sciences Building, UCLA
Links: ------ [1] https://mail.python.org/mailman/listinfo/scipy-dev [2]
https://docs.scipy.org/doc/scipy-0.19.0/reference/generated/scipy.optimize.r... [3]
http://stackoverflow.com/questions/30636988/python-scipy-fsolve-mismatch-bet...
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@python.org https://mail.python.org/mailman/listinfo/scipy-dev
Hi everyone, This is in accordance with issue #7332, I wanted some suggestions about what should be the correct way to eliminate this defect. As Matt Haberland suggested, warnings can be displayed in case the jacobian is zero at the guess. Otherwise, the default methods can be changed. Please suggest. Thank you