difference $\Delta $

Computes the nearest neighbour difference along a given direction. The optional argument can be used to specify the number of neighbours to skip in computing the differences.