Don't attempt to vectorize mean reductions of integers since we can't use SSE or AVX instructions to divide 2 integers.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.