Function vec_extract

#[target_feature(enable = "altivec")]
pub unsafe fn vec_extract<T, const IDX: u32>(a: T) -> <T as VectorExtract>::Scalar
where
    T: VectorExtract,

Vector Extract

Purpose

Returns the value of the bth element of vector a.

Result value

The value of each element of r is the element of a at position b modulo the number of elements of a.