| 4 | using namespace std; |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | float a[6]={1.0f, 1.0f, 1.0f, 2.0f, 2.0f, 2.0f}; |
| 9 | float b[6]={1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f}; |
| 10 | cv::Mat A(2, 3, CV_32FC1, a); |
| 11 | cv::Mat B(3, 2, CV_32FC1, b); |
| 12 | |
| 13 | cv::Mat C = A * B; |
| 14 | |
| 15 | cout << "Matrix C = " << endl |
| 16 | << C << endl; |
| 17 | return 0; |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected