MCPcopy Create free account
hub / github.com/elftausend/graplot / divs

Function divs

src/eval.rs:43–45  ·  view source on GitHub ↗
(lhs: &[f64], rhs: f64)

Source from the content-addressed store, hash-verified

41}
42
43pub fn divs(lhs: &[f64], rhs: f64) -> Vec<f64> {
44 lhs.iter().map(|v| v / rhs).collect()
45}
46
47pub fn sub(lhs: &[f64], rhs: f64) -> Vec<f64> {
48 let mut out = Vec::with_capacity(lhs.len());

Callers 2

runFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected