dimanche 28 décembre 2014

Using brentq with two lists of data


Vote count:

0




I am trying to find the root(s) of a line which is defined by data like:



x = [1,2,3,4,5]
y = [-2,4,6,8,4]


I have started by using interpolation but I have been told I can then use the brentq function. How can I use brentq from two lists? I thought continuous functions are needed for it.



asked 28 secs ago







Using brentq with two lists of data

Aucun commentaire:

Enregistrer un commentaire