lundi 29 novembre 2021

Make list of random triangular functions in python [closed]

I would like to make a list of 20 random triangular functions on [0,1] in Python. My triangular function is defined as

f(x) = max{X -|Yx-Z|, 0}, where X = height of function Y = inclination of function Z = position in the coordinate system.




Aucun commentaire:

Enregistrer un commentaire