Ask Your Question
2

cvMatMul() versus gemm()

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

MRDaniel gravatar image

Hey.

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
3

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

Stats

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

Seen: 1,952 times

Last updated: Nov 19 '13