Skip to main content

ellipsoid

Function ellipsoid 

Source
pub fn ellipsoid(x: &[f64]) -> f64
Expand description

The ellipsoid, f(x) = Σ 10^(6 i/(n − 1)) xᵢ² for i = 0 … n − 1: its curvatures run from 1 to ELLIPSOID_CONDITION. With one variable it is the sphere.