Skip to main content

setdiff1d

Function setdiff1d 

Source
pub fn setdiff1d<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 set difference of two 1-D arrays (elements in a not in b).

Equivalent to numpy.setdiff1d.