Navigation :
linear
linear, function
def pure linear(a: number): zedfunc
Returns the zedfunc $f(x) = a * x$.
Examples
f = linear(2)
table T = with
[| as X |]
[| 0 |]
[| 1 |]
[| 3 |]
T.Y = valueAt(f, T.X)
show table "Linear" with
T.X
T.Y
This produces the following table: