#statistics #distributions #irox #library

no-std irox-stats

Various mathematical and statistics utilities

16 releases

new 0.3.4 Feb 12, 2025
0.3.1 Jan 26, 2025
0.2.9 Dec 15, 2024
0.2.7 Oct 30, 2024
0.2.2 Nov 29, 2023

#947 in Math

Download history 153/week @ 2024-10-26 23/week @ 2024-11-02 2/week @ 2024-11-09 3/week @ 2024-11-16 1/week @ 2024-11-23 12/week @ 2024-12-07 293/week @ 2024-12-14 12/week @ 2024-12-21 218/week @ 2025-01-25 164/week @ 2025-02-01 231/week @ 2025-02-08

613 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

1MB
22K SLoC

IROX-STATS

Various mathematical and statistics utilities

No-STD support:

  • By default, makes use of alloc in many places.

Features:

  • std: adds interactions with the standard library & operating system.
  • miniz: adds deflate compression/decompression support
  • emath: adds conversion to/from emath primitives

Modules:

Module [no_std]?
abg no_std Alpha-Beta (α-β/g-h) and Alpha-Beta-Gamma (α-β-γ) and Kalman filters
decay no_std Exponential Half-lifes and Decays
filter no_std Discrete Convolution Filters for Digital Signals Processing
fitting no_std Curve Fitting Functions (regressions)
gaussian no_std Gaussian Distribution Functions
points no_std Geometric Points (Point2D/Double2D/Vec2D/Quad2D)
rects no_std Geometric Shapes (Rect2D)
sampling no_std Time Series Sample Data (time, value)
streaming no_std
std
Fast Streaming Time Window Aggregation Functions (Mean, Min, Max, Unweighted Sum-of-Squares, (Un)Biased Variance, (Un)Biased Standard Deviation, 4-Number Summary)
std adds One-Second-Window Binning
streams no_std Sample Codec Chained-Streams (Delta, VByte, Compression, etc)
tsdf std
miniz
Time-Series Data File format (TSDF) based loosely on SPDP
windows std Time-Series Data Window Filters (Savitzky-Golay, Variable-Length Time-Window Binning/Downsampling, Rolling Time Window/Horizons, Linear Regression for Rate-of-Change within Windows)

Dependencies

~285–790KB
~18K SLoC