Ask Your Question

cvMatMul() versus gemm()

asked 2013-11-18 21:48:16 -0600

MRDaniel gravatar image


Does anyone know if gemm(src1, 1, src2, None, 0, dest) is equivalent to cvMatMul(src1,src2,dest)?

I cannot find cvMatMul in EMGU opencv or in the Python bindings.

Any clues?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-19 00:41:52 -0600

Michael Burdinov gravatar image

Yes. cvMatMul is just a shorter name for gemm. This is from the source code:

#define cvMatMulAdd( src1, src2, src3, dst ) cvGEMM( (src1), (src2), 1., (src3), 1., (dst), 0 )
#define cvMatMul( src1, src2, dst )  cvMatMulAdd( (src1), (src2), NULL, (dst))
edit flag offensive delete link more

Question Tools


Asked: 2013-11-18 21:48:16 -0600

Seen: 1,817 times

Last updated: Nov 19 '13