mean vector as a map