Add adding and subtraction operations between a number and a quaternion;
authorKong Liangqian <chargerKong@126.com>
Tue, 24 Nov 2020 10:35:39 +0000 (18:35 +0800)
committerKong Liangqian <chargerKong@126.com>
Wed, 2 Dec 2020 17:38:15 +0000 (01:38 +0800)
commit8e32566583c5249249aa044b93e497aeb35ae1aa
tree81defa9e9294e6b2c6243ca101c85a9c57655ba3
parent0105f8fa38ec867a8e4bbc74c402afcd0e296194
Add adding and subtraction operations between a number and a quaternion;
fix a typo;
Add documentation of quaternion operators;
Restrict the type of scalar: the same as quaternion;
modules/core/include/opencv2/core/quaternion.hpp
modules/core/include/opencv2/core/quaternion.inl.hpp
modules/core/test/test_quaternion.cpp