Test that the last nth rows of an array are all zeros
Posted By: Anonymous I have this array: A = np.array([[[ 1.8, -3.1, -3.5, 2.2], [ 1.5, -6.6, 1.1, 1.1], [ 8.9, 4.8, -1.2, 3.6], [ 1.3, -7.4, 7.4, 1. ], [ 6.3, 0. , 0. , 3. ], [ 6.3, 0. , -6.3, 0. ], [ 6.3, -6.3, 6.3, 3.3], [ 0. , 0. , …