[SciPy-User] Solving equations in SciPy

josef.pktd at gmail.com josef.pktd at gmail.com
Thu Jan 29 14:07:35 EST 2015


On Thu, Jan 29, 2015 at 2:01 PM, Gabriele Brambilla <
gb.gabrielebrambilla at gmail.com> wrote:

> thanks
>
> Gabriele
>
> On Thu, Jan 29, 2015 at 1:48 PM, Cyrille Rossant <
> cyrille.rossant at gmail.com> wrote:
>
>> If you want numerical solutions:
>> http://docs.scipy.org/doc/scipy-0.14.0/reference/optimize.nonlin.html
>> If you want analytical (exact, symbolic) solutions:
>> http://docs.sympy.org/latest/modules/solvers/solvers.html
>>
>> 2015-01-29 19:21 GMT+01:00 Gabriele Brambilla <
>> gb.gabrielebrambilla at gmail.com>:
>> > Hi all,
>> >
>> > is it possible to finding roots of equations in Scipy? Is there any
>> function
>> > that does this task? For example an equation solver able to find the
>> complex
>> > roots of an equation like
>> >
>> > X^4 + aX^3 + ... = 0
>>
>

just to add to Cyrille's answer: If you have a polynomial instead of a
general non-linear function, then the functions in np.polynomial and
np.roots can find all roots.

Josef



> >
>> > ?
>> >
>> > thanks
>> >
>> > Gabriele
>> >
>> > _______________________________________________
>> > SciPy-User mailing list
>> > SciPy-User at scipy.org
>> > http://mail.scipy.org/mailman/listinfo/scipy-user
>> >
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User at scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150129/c5582888/attachment.html>


More information about the SciPy-User mailing list