Numpy Array Slicing In Python Examples Of Functions That Are Not Differentiable