Skip to main content

rle_encode

Function rle_encode 

Source
pub fn rle_encode(values: &[f64]) -> Vec<RleRun>
Expand description

Run-length encode a sequence of f64 values.

Consecutive equal values (bitwise) are collapsed into a single RleRun.