News for hackers. Stuff that matters.
Re:J Notation as a Tool of Thought by ipsum2 on Saturday August 15, 2020 @04:18AM (#24167036)
To do sieves in J like the blog post mentioned, the equivalent numpy would be:

>>> arr = np.array([10, 20, 30])

>>> arr[arr > 15]

array([20, 30])

There are no comments on this comment yet.