Created
July 10, 2015 12:25
-
-
Save nthState/7f839a3c14c326a722bc to your computer and use it in GitHub Desktop.
Accelerate vDSP_vsmul
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let array_size:Int = 6 | |
let input:[Float] = [1,2,3,4,5,6] | |
var output = [Float](count: array_size, repeatedValue: 0.0) | |
vDSP_vsmul(input, 1, [5], &output, 5, vDSP_Length(array_size)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment