1 //Copyright (c) 2008-2017 Emil Dotchevski and Reverge Studios, Inc.
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef BOOST_QVM_5DD4CBFC96F5453B13D89A1CDBAE32
7 #define BOOST_QVM_5DD4CBFC96F5453B13D89A1CDBAE32
9 //This file was generated by a program. Do not edit manually.
11 #include <boost/qvm/enable_if.hpp>
12 #include <boost/qvm/inline.hpp>
13 #include <boost/qvm/mat_traits.hpp>
21 template <class A,class B>
22 BOOST_QVM_INLINE_OPERATIONS
24 mat_traits<A>::rows==2 && mat_traits<B>::rows==2 &&
25 mat_traits<A>::cols==2 && mat_traits<B>::cols==2,
27 assign( A & a, B const & b )
29 mat_traits<A>::template write_element<0,0>(a)=mat_traits<B>::template read_element<0,0>(b);
30 mat_traits<A>::template write_element<0,1>(a)=mat_traits<B>::template read_element<0,1>(b);
31 mat_traits<A>::template write_element<1,0>(a)=mat_traits<B>::template read_element<1,0>(b);
32 mat_traits<A>::template write_element<1,1>(a)=mat_traits<B>::template read_element<1,1>(b);
39 using ::boost::qvm::assign;
45 template <int R,int C>
46 struct assign_mm_defined;
50 assign_mm_defined<2,2>
52 static bool const value=true;
56 template <class A,class B>
57 BOOST_QVM_INLINE_OPERATIONS
59 mat_traits<A>::rows==2 && mat_traits<B>::rows==2 &&
60 mat_traits<A>::cols==1 && mat_traits<B>::cols==1,
62 assign( A & a, B const & b )
64 mat_traits<A>::template write_element<0,0>(a)=mat_traits<B>::template read_element<0,0>(b);
65 mat_traits<A>::template write_element<1,0>(a)=mat_traits<B>::template read_element<1,0>(b);
72 using ::boost::qvm::assign;
78 template <int R,int C>
79 struct assign_mm_defined;
83 assign_mm_defined<2,1>
85 static bool const value=true;
89 template <class A,class B>
90 BOOST_QVM_INLINE_OPERATIONS
92 mat_traits<A>::rows==1 && mat_traits<B>::rows==1 &&
93 mat_traits<A>::cols==2 && mat_traits<B>::cols==2,
95 assign( A & a, B const & b )
97 mat_traits<A>::template write_element<0,0>(a)=mat_traits<B>::template read_element<0,0>(b);
98 mat_traits<A>::template write_element<0,1>(a)=mat_traits<B>::template read_element<0,1>(b);
105 using ::boost::qvm::assign;
111 template <int R,int C>
112 struct assign_mm_defined;
116 assign_mm_defined<1,2>
118 static bool const value=true;