1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Simple matrix multiplication for Mat in iOS/Android

This commit is contained in:
Giles Payne
2021-10-05 20:16:06 +09:00
parent 24fcb7f813
commit 19a880bb91
8 changed files with 90 additions and 2 deletions
@@ -715,3 +715,9 @@ public extension Mat {
return MatAt(mat: self, indices: indices)
}
}
public extension Mat {
static func *(lhs:Mat, rhs: Mat) -> Mat {
return lhs.matMul(rhs)
}
}