pond-ts API Reference (core)
    Preparing search index...

    Type Alias BinReducerName

    BinReducerName:
        | "min"
        | "max"
        | "sum"
        | "mean"
        | "stdev"
        | "median"
        | "count"
        | `p${number}`
        | "minMax"
        | "minMaxFirstLast"

    Reducer-name string accepted by Float64Column.bin(W, reducer). Built-in scalar reducers ('min', 'max', 'sum', 'mean', 'stdev', 'median', 'count') produce one number per bin. The percentile family is reached via the 'p${q}' convention (e.g. 'p95', 'p99.9') where q is in [0, 100] — runtime check enforces the range. The fused 'minMax' is special: it returns a two-channel { lo, hi } rather than a single Float64Array. The fused 'minMaxFirstLast' extends that to four channels { lo, hi, first, last } — the M4 downsampling reducer (Jugel et al., VLDB 2014): first/last are the first/last defined value in each bin, which keep a decimated polyline continuous across bin boundaries (the line enters at first, exits at last).