Registry / utility / average

average

JSON →
library0.17.0rscratesunverified

Calculate statistics iteratively.

# Cargo.toml [dependencies] average = "0.17.0"
INSTALL
IMPORT
SIG · AVERAGE
A
average
utilityrustv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mean
use average::Mean;

Compute the mean of a sequence of numbers.

use average::Mean; fn main() { let mut m = Mean::new(); m.add(1.0); m.add(2.0); println!("{}", m.mean()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.17.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
2
Amazon
1
Resources
average — cargo add average · libregistry