// L============================================================================= // L This software is distributed under the MIT license. // L Copyright 2021 Péter Kardos // L============================================================================= #pragma once #include "QuaternionImpl.hpp" namespace mathter { /// Check exact equality of coefficients. template bool operator==(const Quaternion& lhs, const Quaternion& rhs) { return lhs.vec == rhs.vec; } /// Check exact unequality of coefficients. template bool operator!=(const Quaternion& lhs, const Quaternion& rhs) { return !(lhs == rhs); } } // namespace mathter