J Notation as a Tool of Thought
Interesting blog post. All of these are implemented as trivial operations in numpy, so while J or APL might be the originator of the syntax, this &#x27;tool of thought&#x27; is not as esoteric as the author makes it sound, and learning J if you already know numpy (or TensorFlow or PyTorch or..) isn&#x27;t that remarkable.<p>&gt;&gt; np.array([1, 2, 3]) * 2<p>array([2, 4, 6])<p>&gt;&gt;&gt; np.array([1, 2, 3]) * np.array([4, 5, 6])<p>&gt;&gt;&gt; np.arange(0, 16).reshape(4, 4) + np.array([5, 5, 5, 5])<p>array([[ 5,  6,  7,  8],
       [ 9, 10, 11, 12],
       [13, 14, 15, 16],
       [17, 18, 19, 20]])