Is more than one value in the array equal to the maximum? If so, the derivative isn’t well defined there.
5 Likes
Is more than one value in the array equal to the maximum? If so, the derivative isn’t well defined there.