#statistics #distributions #irox #library

no-std irox-stats

Various mathematical and statistics utilities

17 releases

0.3.5 Mar 1, 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

#936 in Math

Download history 4/week @ 2024-11-18 172/week @ 2024-12-09 145/week @ 2024-12-16 121/week @ 2025-01-20 110/week @ 2025-01-27 176/week @ 2025-02-03 255/week @ 2025-02-10 35/week @ 2025-02-17 145/week @ 2025-02-24 62/week @ 2025-03-03

503 downloads per month
Used in 5 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

~260–760KB
~17K SLoC