Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/elftausend/graplot
/ min
Function
min
src/eval.rs:14–22 ·
view source on GitHub ↗
(arr: &[f64])
Source
from the content-addressed store, hash-verified
12
}
13
14
pub fn min(arr: &[f64]) -> f64 {
15
let mut min = arr[0];
16
for value in arr {
17
if value < &min {
18
min = *value;
19
}
20
}
21
min
22
}
23
24
pub fn count_tens(mut num: f64) -> u128 {
25
let mut count = 1;
Callers
1
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected