Function engram::utils::intersection

source ·
pub fn intersection(a: &[bool], b: &[bool]) -> usize
Expand description

Intersection of two sets.

§Examples

let a = [true, true, false, false];
let b = [true, false, true, false];
let i = intersection(&a, &b);