Generates a linearly spaced numeric array.