Skip to main content
sphere
hpr_
analysis
0.1.0
In hpr_
analysis::
optimize::
benchmark
hpr_analysis
::
optimize
::
benchmark
Function
sphere
Copy item path
Source
pub fn sphere(x: &[
f64
]) ->
f64
Expand description
The sphere,
f(x) = Σ xᵢ²
.