MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / mean

Function mean

src/math/average.rs:25–31  ·  view source on GitHub ↗

# Argument `sequence` - A vector of numbers. Returns mean of `sequence`.

(sequence: Vec<T>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

sumFunction · 0.85
lenMethod · 0.45

Tested by

no test coverage detected