3 sin_kernel(x) := if abs(x) <= 1 / 4 then sin(%pi * x) else 2$
4 cos_kernel(x) := if abs(x) <= 1 / 4 then cos(%pi * x) else 2$
7 [x:arg, xi, xk, sk, ck, st, ct, s, c],
12 st:if bit_and(xi, 1) < 1 then sk else ck,
13 ct:if bit_and(xi, 1) < 1 then ck else sk,
14 s:if bit_and(xi, 2) < 1 then st else -st,
15 c:if bit_and(xi + 1, 2) < 1 then ct else -ct,
42 "sin(%pi * x) + 1/64",
45 [png_file, "./sin_cos_pi.png"]);