ramp
The ramp function.
Syntax
-
ramp(x)
-
x
is a real number
-
Description
The ramp function is defined by
⎧ 0 if x < 0 ramp(x) = ⎨ ⎩ x if x ≥ 0.
Thus,
ramp(x) = max(x, 0) = x⋅Heaviside(x) = x⋅Iverson(x ≥ 0).
The ramp function.
ramp(x)
x
is a real number
The ramp function is defined by
⎧ 0 if x < 0 ramp(x) = ⎨ ⎩ x if x ≥ 0.
Thus,
ramp(x) = max(x, 0) = x⋅Heaviside(x) = x⋅Iverson(x ≥ 0).