I am dealing with a parametric function like this:
and Ideally I would like to sum over the repeated x axis, as shown in the example. It is to say, for x~4.75, I see that the function can be 0.04, 0.06 or 0.16, and I would like to add a point to the sum of 0.06+0.04+0.16 = 0.26. I need to do that for every point, so that I can construct a function which is a kind of 'projection' of the parametric one. Anyone has an idea on how can I do that in Python?
Aucun commentaire:
Enregistrer un commentaire