4 ms·
It's been a while since I used J, but as I recall it's more idiomatic (though sometimes trickier) to write a function that works directly with arrays than to wr
by alimw 10y ago
It's been a while since I used J, but as I recall it's more idiomatic (though sometimes trickier) to write a function that works directly with arrays than to write a function that works with scalars and then to map it over an array.