zoz
zoz, function
def pure zoz(z: zedfunc): zedfunc
Returns the zedfunc z with its value at zero forced to 0.
Example
a = max(constant(10) - linear(1) * linear(1), 0)
show summary "zoz" with
valueAt(a, 0) as "a(0)"
valueAt(zoz(a), 0) as "zoz(a)(0)"
valueAt(a, 1) as "a(1)"
valueAt(zoz(a), 1) as "zoz(a)(1)"
This outputs the following list:
| Label | Value |
|---|---|
| a(0) | 10 |
| zoz(a)(0) | 0 |
| a(1) | 9 |
| zoz(a)(1) | 9 |