core: eliminate 'if' logic from Matx::inv()/solve()
authorAlexander Alekhin <alexander.alekhin@intel.com>
Fri, 13 Jul 2018 15:52:20 +0000 (18:52 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Fri, 13 Jul 2018 17:09:01 +0000 (20:09 +0300)
commit3c74fde3499ea91a329ad70029ccb67f2b4dcdca
tree8646eb0b5093c84971b230d4ed3d6058e8f0cb8e
parent23fc96e98fa58a14a550e8d2c05c6ee0f0ff284a
core: eliminate 'if' logic from Matx::inv()/solve()

- 'if' logic is moved into templates.
- removed unnecessary cv::Mat objects creation.
- fixed inv() test (invA * A == eye)
- added more Matx tests to cover all defined template specializations
modules/core/include/opencv2/core/operations.hpp
modules/core/test/test_math.cpp