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