[][src]Function arrayfire::lookup

pub fn lookup<T, I>(
    input: &Array<T>,
    indices: &Array<I>,
    seq_dim: i32
) -> Array<T> where
    T: HasAfEnum,
    I: HasAfEnum + IndexableType

Lookup(hash) an Array using another Array

Given a dimension seq_dim, indices are lookedup in input and returned as a new Array if found