Skip to main content

crossover

Function crossover 

Source
pub fn crossover(a: &[f64], b: &[f64]) -> Vec<bool>
Expand description

True where a moves from below b to above it. Equal values retain the last unequal comparison, so a touch and return does not cross. Missing values break comparisons. Output has a.len() entries; missing b entries are gaps.