00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef MTL_VEC_SCAL_DIV_ASGN_EXPR_INCLUDE
00010 #define MTL_VEC_SCAL_DIV_ASGN_EXPR_INCLUDE
00011
00012 #include <boost/static_assert.hpp>
00013
00014 #include <boost/numeric/mtl/vector/vec_scal_aop_expr.hpp>
00015 #include <boost/numeric/mtl/utility/ashape.hpp>
00016 #include <boost/numeric/mtl/operation/sfunctor.hpp>
00017
00018 namespace mtl { namespace vector {
00019
00020
00021 template <class E1, class E2>
00022 struct vec_scal_div_asgn_expr
00023 : public vec_scal_aop_expr< E1, E2, mtl::sfunctor::divide_assign<typename E1::value_type, E2> >
00024 {
00025 typedef vec_scal_aop_expr< E1, E2, mtl::sfunctor::divide_assign<typename E1::value_type, E2> > base;
00026 vec_scal_div_asgn_expr( E1& v1, E2 const& v2 )
00027 : base( v1, v2 )
00028 {}
00029 };
00030
00031 } }
00032
00033 #endif
00034