Skip to main content

intersect1d

Function intersect1d 

Source
pub fn intersect1d<T>(
    a: &Array<T, Ix1>,
    b: &Array<T, Ix1>,
    assume_unique: bool,
) -> Result<Array<T, Ix1>, FerrayError>
where T: Element + PartialOrd + Copy,
Expand description

Return the sorted intersection of two 1-D arrays.

Equivalent to numpy.intersect1d.