/* * Scaling of Vectors. * These exist because the pure Haskell implementations are slow. * Uses SIMD instructions for performance. */ #include #include #include /* * Scaling */ void scale(int num, float factor, float *in_buf, float *out_buf){ int i; for(i=0; i