#ifndef BOOST_QVM_GEN_MAT_ASSIGN2_HPP_INCLUDED #define BOOST_QVM_GEN_MAT_ASSIGN2_HPP_INCLUDED /// Copyright (c) 2008-2021 Emil Dotchevski and Reverge Studios, Inc. /// Distributed under the Boost Software License, Version 1.0. (See accompanying /// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) /// This file was generated by a program. Do not edit manually. #include #include #include namespace boost { namespace qvm { template BOOST_QVM_INLINE_OPERATIONS typename enable_if_c< mat_traits::rows==2 && mat_traits::rows==2 && mat_traits::cols==2 && mat_traits::cols==2, A &>::type assign( A & a, B const & b ) { mat_traits::template write_element<0,0>(a)=mat_traits::template read_element<0,0>(b); mat_traits::template write_element<0,1>(a)=mat_traits::template read_element<0,1>(b); mat_traits::template write_element<1,0>(a)=mat_traits::template read_element<1,0>(b); mat_traits::template write_element<1,1>(a)=mat_traits::template read_element<1,1>(b); return a; } namespace sfinae { using ::boost::qvm::assign; } namespace qvm_detail { template struct assign_mm_defined; template <> struct assign_mm_defined<2,2> { static bool const value=true; }; } template BOOST_QVM_INLINE_OPERATIONS typename enable_if_c< mat_traits::rows==2 && mat_traits::rows==2 && mat_traits::cols==1 && mat_traits::cols==1, A &>::type assign( A & a, B const & b ) { mat_traits::template write_element<0,0>(a)=mat_traits::template read_element<0,0>(b); mat_traits::template write_element<1,0>(a)=mat_traits::template read_element<1,0>(b); return a; } namespace sfinae { using ::boost::qvm::assign; } namespace qvm_detail { template struct assign_mm_defined; template <> struct assign_mm_defined<2,1> { static bool const value=true; }; } template BOOST_QVM_INLINE_OPERATIONS typename enable_if_c< mat_traits::rows==1 && mat_traits::rows==1 && mat_traits::cols==2 && mat_traits::cols==2, A &>::type assign( A & a, B const & b ) { mat_traits::template write_element<0,0>(a)=mat_traits::template read_element<0,0>(b); mat_traits::template write_element<0,1>(a)=mat_traits::template read_element<0,1>(b); return a; } namespace sfinae { using ::boost::qvm::assign; } namespace qvm_detail { template struct assign_mm_defined; template <> struct assign_mm_defined<1,2> { static bool const value=true; }; } } } #endif