1 unstable release
Uses new Rust 2024
new 0.2.0 | Apr 30, 2025 |
---|
#1989 in Algorithms
23KB
427 lines
No-Std-Moving-Average

This supplies a moving average algorithm that can be used in a nostd environment.
To ensure that the behavior is consistent, the first insertion stuffs the entire buffer with the first value.
Limitations
This library only supports integer quantities.
Attribution
Work creating this library was performed as part of commercial development by Kelvin (formerly Radiator Labs), a green energy company dedicated to decarbonizing the world's legacy buildings.
Minimum Supported Rust Version (MSRV)
This crate is guaranteed to compile on stable Rust 1.86 and up. It might compile with older versions but that may change in any new patch release. Changes in Clippy support are the main factor driving the version dependency.
See here for details on how the MSRV may be upgraded.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
end
Dependencies
~480KB