cblas_dgemm trouble

cblas_dgemm trouble

I've been having some problems figuring out how to get cblas_dgemm to work properly. I'm trying to get it to multiply a 3x1 matrix by a 1x1 (a scalar), in this case [1 2 3] * 1, but the outputted result is [1 0 0]. I've attached my code below. Any help would be greatly appreciated!

Thanks, Nick

Downloadtext/x-csrc testdgemm.c1.52 KB
2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Nevermind, figured out the error.

Leave a Comment

Please sign in to add a comment. Not a member? Join today