Given an array of ints of length n, returns an array of length n-1 whos elements consist of the difference between each
consecutive element of the specified array.
Given an array of longs of length n, returns an array of length n-1 whos elements consist of the difference between each
consecutive element of the specified array.
Given an array of floats of length n, returns an array of length n-1 whos elements consist of the difference between each
consecutive element of the specified array.
Given an array of doubles of length n, returns an array of length n-1 whos elements consist of the difference between each
consecutive element of the specified array.