python - Rampfunction code -
i'm trying solve problem: create function reproduces rampfuntion
n, n >= 0 r(n)= 0, n < 0 can help?
you gave python tag, i'll in python.
ramp = lambda x: x if x >= 0 else 0
Comments
Post a Comment