Add vectorized version of enumFromTo_int and enumFromTo_double.