day 10 ivy tweak
parent
43118ba386
commit
28f7fcb605
|
@ -3,9 +3,9 @@
|
||||||
op run ins =
|
op run ins =
|
||||||
((1 + ins != 0), 0) sel +\ 1, ins
|
((1 + ins != 0), 0) sel +\ 1, ins
|
||||||
|
|
||||||
op signal xs =
|
op signal xs =
|
||||||
n = rho xs
|
cycle = iota rho xs
|
||||||
i = (20 == (iota n) mod 40) sel iota n
|
i = (20 == cycle mod 40) sel cycle
|
||||||
+/ xs[i] * i
|
+/ xs[i] * i
|
||||||
|
|
||||||
op render xs =
|
op render xs =
|
||||||
|
|
Loading…
Reference in New Issue