lttb.d.ts 249 B

12345
  1. /**
  2. * Sample data with lttb(Largest-Triangle-Three-Buckets) algo (https://github.com/pingec/downsample-lttb).
  3. * Return the sampled index array.
  4. */
  5. export declare function lttb(I: number[], X: number[], Y: number[], thresholds: number): number[];