Skip to main content

param_point

Function param_point 

pub fn param_point(problem: &Problem, unit: [f64; 2]) -> Option<[f64; 2]>
Expand description

Maps a unit-square point back into the box, clamped to it: the inverse of unit_point. Returns None for a problem without two parameters.