Skip to main content

unit_point

Function unit_point 

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

Maps a parameter point into the unit square: (0, 0) is the bottom-left corner of the box, (1, 1) the top-right. Returns None for a point with the wrong dimension.