Vectorize atomic functions