Skip to main content

## vec_extract

# Function vec_extract

Source

    pub unsafe fn vec_extract<T, const IDX: u32>(
        a: T,
    ) -> <T as VectorExtract>::Scalarwhere
        T: VectorExtract,

🔬This is a nightly-only experimental API. (`stdarch_powerpc` #111145)
Available on PowerPC and target feature `altivec` only.
Expand description

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.