3.5 Vectorization and functionals