Vectorization (Array Programming)

 

Vectorization (or Array programming) refers to solutions which allow the application of operations to an array (entire set of values) at once, rather than explicitly looping through the array to perform operations.

Vectorized programs can run multiple operations from a single instruction and, therefore, are much more suitable for SIMD processors and GPUs.

17-vectorization-1
18-vectorization-2