OP here; maybe I'll add a comment to the article to make the comparison between NumPy and APL for this expression. Thanks!