Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Finding all roots of a function
Post: RE: Finding all roots of a function

(Apr-15-2021, 08:33 PM)bowlofred Wrote: I believe the solver function always passes the variable to be solved first and then any additional args. So instead of calling your function as omega((N, p)...
thonpy General Coding Help 3 2,432 Apr-15-2021, 10:51 PM
    Thread: Finding all roots of a function
Post: Finding all roots of a function

I have written the following snippet of code: import numpy as np import math as m import cmath as cm from scipy.optimize import minimize, root_scalar def omega(args,x): N,p=args w=new_t...
thonpy General Coding Help 3 2,432 Apr-15-2021, 07:30 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020