gemm function
Mat
gemm(
- InputArray src1,
- InputArray src2,
- double alpha,
- InputArray src3,
- double beta, {
- OutputArray? dst,
- int flags = 0,
Gemm performs generalized matrix multiplication.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gacb6e64071dffe36434e1e7ee79e7cb35
Implementation
Mat gemm(
InputArray src1,
InputArray src2,
double alpha,
InputArray src3,
double beta, {
OutputArray? dst,
int flags = 0,
}) {
dst ??= Mat.empty();
cvRun(() => ccore.cv_gemm(src1.ref, src2.ref, alpha, src3.ref, beta, dst!.ref, flags, ffi.nullptr));
return dst;
}