Forward Difference Algorithm

"Nordlöw" per.nordlow at gmail.com
Wed Jan 8 16:22:03 PST 2014


On Wednesday, 8 January 2014 at 19:40:34 UTC, 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.

See also: 
https://stackoverflow.com/questions/21004944/forward-difference-algorithm


More information about the Digitalmars-d-learn mailing list