anamika41
anamika41

Reputation: 161

No matching function for call to 'mmul'

I am trying to multiply two matrices using the vDSP_mmul function, but I get an error "No matching function for call to 'mmul'".

import done as:

#import <Accelerate/Accelerate.h>

Function call:

vDSP_mmul(colorArray, 1, rgbArray, 1, concatArray, 1, 4, 4, 4);

colorArray , rgbArray are the two matrices and concatArray is the result Matrice.

Upvotes: 0

Views: 976

Answers (1)

Roy
Roy

Reputation: 44308

vDSP_mmul only has 8 parameters and you are using 9 parameters, so the compiler can't find the function you're using. You might want to drop the last '4':

vDSP_mmul(colorArray, 1, rgbArray, 1, concatArray, 1, 4, 4);

Upvotes: 1

Related Questions