Generalize cartesian and spherical vectors.