Multiplies a nonoverlapping increasing sequence of floats by a scalar