Re: Forward Difference Algorithm

2014-01-08 Thread Nordlöw
. See also: https://stackoverflow.com/questions/21004944/forward-difference-algorithm

Re: Forward Difference Algorithm

2014-01-08 Thread Ali Çehreli
On 01/08/2014 11:40 AM, "Nordlöw" wrote: Is/Are there a function(s) in `std.algorithm` or `std.range` with which to lazily compute a forward difference? I need this to differentially pack sorted elements (integers) in a range. The integers happen to be `SysTime` timestamps. There is a forward d

Forward Difference Algorithm

2014-01-08 Thread Nordlöw
Is/Are there a function(s) in `std.algorithm` or `std.range` with which to lazily compute a forward difference? I need this to differentially pack sorted elements (integers) in a range. The integers happen to be `SysTime` timestamps.