Utility functions for the Accelerate framework