Skip to Content
API Referencecrossover (element-wise crossover)

crossover (element-wise crossover)

crossover(a: Array<Number>|Number, b: Array<Number>|Number) -> Array<Boolean>

Compares arrays a and b, and returns an array containing boolean values that are true in places where the values from a cross over b, that is to say where a > b and a[-1] <= b[-1].

See also crossunder