First time here? Check out the FAQ!

Ask Your Question
2

cvMatMul() versus gemm()

asked Nov 19 '13

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?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
3

answered Nov 19 '13

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))
Preview: (hide)

Question Tools

Stats

Asked: Nov 19 '13

Seen: 2,061 times

Last updated: Nov 19 '13