Trait Permute

Source
pub unsafe trait Permute<T, N: ArrayLength> {
    // Required method
    fn permute(self, values: &NumericArray<T, N>) -> NumericArray<T, N>;
}
Expand description

Rearranges one numeric array into another using the supplied indices

Required Methods§

Source

fn permute(self, values: &NumericArray<T, N>) -> NumericArray<T, N>

Performs the permutation

Implementors§

Source§

impl<T, I, N: ArrayLength> Permute<T, N> for NumericArray<I, N>
where T: Clone, I: Copy + Into<usize>,