Lines Matching refs:_Op
431 template <class _Op, class _A0>
434 typedef typename _Op::__result_type __result_type;
437 _Op __op_;
441 _UnaryOp(const _Op& __op, const _A0& __a0) : __op_(__op), __a0_(__a0) {}
450 template <class _Op, class _A0, class _A1>
453 typedef typename _Op::__result_type __result_type;
456 _Op __op_;
461 _BinaryOp(const _Op& __op, const _A0& __a0, const _A1& __a1)
1114 template <class _Op, class _Tp>
1115 struct _UnaryOp<_Op, valarray<_Tp> >
1117 typedef typename _Op::__result_type __result_type;
1120 _Op __op_;
1124 _UnaryOp(const _Op& __op, const valarray<_Tp>& __a0) : __op_(__op), __a0_(__a0) {}
1133 template <class _Op, class _Tp, class _A1>
1134 struct _BinaryOp<_Op, valarray<_Tp>, _A1>
1136 typedef typename _Op::__result_type __result_type;
1139 _Op __op_;
1144 _BinaryOp(const _Op& __op, const valarray<_Tp>& __a0, const _A1& __a1)
1154 template <class _Op, class _A0, class _Tp>
1155 struct _BinaryOp<_Op, _A0, valarray<_Tp> >
1157 typedef typename _Op::__result_type __result_type;
1160 _Op __op_;
1165 _BinaryOp(const _Op& __op, const _A0& __a0, const valarray<_Tp>& __a1)
1175 template <class _Op, class _Tp>
1176 struct _BinaryOp<_Op, valarray<_Tp>, valarray<_Tp> >
1178 typedef typename _Op::__result_type __result_type;
1181 _Op __op_;
1186 _BinaryOp(const _Op& __op, const valarray<_Tp>& __a0, const valarray<_Tp>& __a1)
2780 typedef __apply_expr<value_type, value_type(*)(value_type)> _Op;
2781 typedef _UnaryOp<_Op, _ValExpr> _NewExpr;
2782 return __val_expr<_NewExpr>(_NewExpr(_Op(__f), __expr_));
2789 typedef __apply_expr<value_type, value_type(*)(const value_type&)> _Op;
2790 typedef _UnaryOp<_Op, _ValExpr> _NewExpr;
2791 return __val_expr<_NewExpr>(_NewExpr(_Op(__f), __expr_));
3316 using _Op = _UnaryOp<__unary_plus<_Tp>, const valarray<_Tp>&>;
3317 return __val_expr<_Op>(_Op(__unary_plus<_Tp>(), *this));
3325 using _Op = _UnaryOp<negate<_Tp>, const valarray<_Tp>&>;
3326 return __val_expr<_Op>(_Op(negate<_Tp>(), *this));
3334 using _Op = _UnaryOp<__bit_not<_Tp>, const valarray<_Tp>&>;
3335 return __val_expr<_Op>(_Op(__bit_not<_Tp>(), *this));
3343 using _Op = _UnaryOp<logical_not<_Tp>, const valarray<_Tp>&>;
3344 return __val_expr<_Op>(_Op(logical_not<_Tp>(), *this));
3791 typedef _BinaryOp<multiplies<value_type>, _Expr1, _Expr2> _Op;
3792 return __val_expr<_Op>(_Op(multiplies<value_type>(), __x, __y));
3806 typedef _BinaryOp<multiplies<value_type>, _Expr, __scalar_expr<value_type> > _Op;
3807 return __val_expr<_Op>(_Op(multiplies<value_type>(),
3822 typedef _BinaryOp<multiplies<value_type>, __scalar_expr<value_type>, _Expr> _Op;
3823 return __val_expr<_Op>(_Op(multiplies<value_type>(),
3837 typedef _BinaryOp<divides<value_type>, _Expr1, _Expr2> _Op;
3838 return __val_expr<_Op>(_Op(divides<value_type>(), __x, __y));
3852 typedef _BinaryOp<divides<value_type>, _Expr, __scalar_expr<value_type> > _Op;
3853 return __val_expr<_Op>(_Op(divides<value_type>(),
3868 typedef _BinaryOp<divides<value_type>, __scalar_expr<value_type>, _Expr> _Op;
3869 return __val_expr<_Op>(_Op(divides<value_type>(),
3883 typedef _BinaryOp<modulus<value_type>, _Expr1, _Expr2> _Op;
3884 return __val_expr<_Op>(_Op(modulus<value_type>(), __x, __y));
3898 typedef _BinaryOp<modulus<value_type>, _Expr, __scalar_expr<value_type> > _Op;
3899 return __val_expr<_Op>(_Op(modulus<value_type>(),
3914 typedef _BinaryOp<modulus<value_type>, __scalar_expr<value_type>, _Expr> _Op;
3915 return __val_expr<_Op>(_Op(modulus<value_type>(),
3929 typedef _BinaryOp<plus<value_type>, _Expr1, _Expr2> _Op;
3930 return __val_expr<_Op>(_Op(plus<value_type>(), __x, __y));
3944 typedef _BinaryOp<plus<value_type>, _Expr, __scalar_expr<value_type> > _Op;
3945 return __val_expr<_Op>(_Op(plus<value_type>(),
3960 typedef _BinaryOp<plus<value_type>, __scalar_expr<value_type>, _Expr> _Op;
3961 return __val_expr<_Op>(_Op(plus<value_type>(),
3975 typedef _BinaryOp<minus<value_type>, _Expr1, _Expr2> _Op;
3976 return __val_expr<_Op>(_Op(minus<value_type>(), __x, __y));
3990 typedef _BinaryOp<minus<value_type>, _Expr, __scalar_expr<value_type> > _Op;
3991 return __val_expr<_Op>(_Op(minus<value_type>(),
4006 typedef _BinaryOp<minus<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4007 return __val_expr<_Op>(_Op(minus<value_type>(),
4021 typedef _BinaryOp<bit_xor<value_type>, _Expr1, _Expr2> _Op;
4022 return __val_expr<_Op>(_Op(bit_xor<value_type>(), __x, __y));
4036 typedef _BinaryOp<bit_xor<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4037 return __val_expr<_Op>(_Op(bit_xor<value_type>(),
4052 typedef _BinaryOp<bit_xor<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4053 return __val_expr<_Op>(_Op(bit_xor<value_type>(),
4067 typedef _BinaryOp<bit_and<value_type>, _Expr1, _Expr2> _Op;
4068 return __val_expr<_Op>(_Op(bit_and<value_type>(), __x, __y));
4082 typedef _BinaryOp<bit_and<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4083 return __val_expr<_Op>(_Op(bit_and<value_type>(),
4098 typedef _BinaryOp<bit_and<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4099 return __val_expr<_Op>(_Op(bit_and<value_type>(),
4113 typedef _BinaryOp<bit_or<value_type>, _Expr1, _Expr2> _Op;
4114 return __val_expr<_Op>(_Op(bit_or<value_type>(), __x, __y));
4128 typedef _BinaryOp<bit_or<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4129 return __val_expr<_Op>(_Op(bit_or<value_type>(),
4144 typedef _BinaryOp<bit_or<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4145 return __val_expr<_Op>(_Op(bit_or<value_type>(),
4159 typedef _BinaryOp<__bit_shift_left<value_type>, _Expr1, _Expr2> _Op;
4160 return __val_expr<_Op>(_Op(__bit_shift_left<value_type>(), __x, __y));
4174 typedef _BinaryOp<__bit_shift_left<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4175 return __val_expr<_Op>(_Op(__bit_shift_left<value_type>(),
4190 typedef _BinaryOp<__bit_shift_left<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4191 return __val_expr<_Op>(_Op(__bit_shift_left<value_type>(),
4205 typedef _BinaryOp<__bit_shift_right<value_type>, _Expr1, _Expr2> _Op;
4206 return __val_expr<_Op>(_Op(__bit_shift_right<value_type>(), __x, __y));
4220 typedef _BinaryOp<__bit_shift_right<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4221 return __val_expr<_Op>(_Op(__bit_shift_right<value_type>(),
4236 typedef _BinaryOp<__bit_shift_right<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4237 return __val_expr<_Op>(_Op(__bit_shift_right<value_type>(),
4251 typedef _BinaryOp<logical_and<value_type>, _Expr1, _Expr2> _Op;
4252 return __val_expr<_Op>(_Op(logical_and<value_type>(), __x, __y));
4266 typedef _BinaryOp<logical_and<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4267 return __val_expr<_Op>(_Op(logical_and<value_type>(),
4282 typedef _BinaryOp<logical_and<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4283 return __val_expr<_Op>(_Op(logical_and<value_type>(),
4297 typedef _BinaryOp<logical_or<value_type>, _Expr1, _Expr2> _Op;
4298 return __val_expr<_Op>(_Op(logical_or<value_type>(), __x, __y));
4312 typedef _BinaryOp<logical_or<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4313 return __val_expr<_Op>(_Op(logical_or<value_type>(),
4328 typedef _BinaryOp<logical_or<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4329 return __val_expr<_Op>(_Op(logical_or<value_type>(),
4343 typedef _BinaryOp<equal_to<value_type>, _Expr1, _Expr2> _Op;
4344 return __val_expr<_Op>(_Op(equal_to<value_type>(), __x, __y));
4358 typedef _BinaryOp<equal_to<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4359 return __val_expr<_Op>(_Op(equal_to<value_type>(),
4374 typedef _BinaryOp<equal_to<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4375 return __val_expr<_Op>(_Op(equal_to<value_type>(),
4389 typedef _BinaryOp<not_equal_to<value_type>, _Expr1, _Expr2> _Op;
4390 return __val_expr<_Op>(_Op(not_equal_to<value_type>(), __x, __y));
4404 typedef _BinaryOp<not_equal_to<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4405 return __val_expr<_Op>(_Op(not_equal_to<value_type>(),
4420 typedef _BinaryOp<not_equal_to<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4421 return __val_expr<_Op>(_Op(not_equal_to<value_type>(),
4435 typedef _BinaryOp<less<value_type>, _Expr1, _Expr2> _Op;
4436 return __val_expr<_Op>(_Op(less<value_type>(), __x, __y));
4450 typedef _BinaryOp<less<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4451 return __val_expr<_Op>(_Op(less<value_type>(),
4466 typedef _BinaryOp<less<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4467 return __val_expr<_Op>(_Op(less<value_type>(),
4481 typedef _BinaryOp<greater<value_type>, _Expr1, _Expr2> _Op;
4482 return __val_expr<_Op>(_Op(greater<value_type>(), __x, __y));
4496 typedef _BinaryOp<greater<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4497 return __val_expr<_Op>(_Op(greater<value_type>(),
4512 typedef _BinaryOp<greater<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4513 return __val_expr<_Op>(_Op(greater<value_type>(),
4527 typedef _BinaryOp<less_equal<value_type>, _Expr1, _Expr2> _Op;
4528 return __val_expr<_Op>(_Op(less_equal<value_type>(), __x, __y));
4542 typedef _BinaryOp<less_equal<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4543 return __val_expr<_Op>(_Op(less_equal<value_type>(),
4558 typedef _BinaryOp<less_equal<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4559 return __val_expr<_Op>(_Op(less_equal<value_type>(),
4573 typedef _BinaryOp<greater_equal<value_type>, _Expr1, _Expr2> _Op;
4574 return __val_expr<_Op>(_Op(greater_equal<value_type>(), __x, __y));
4588 typedef _BinaryOp<greater_equal<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4589 return __val_expr<_Op>(_Op(greater_equal<value_type>(),
4604 typedef _BinaryOp<greater_equal<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4605 return __val_expr<_Op>(_Op(greater_equal<value_type>(),
4619 typedef _UnaryOp<__abs_expr<value_type>, _Expr> _Op;
4620 return __val_expr<_Op>(_Op(__abs_expr<value_type>(), __x));
4633 typedef _UnaryOp<__acos_expr<value_type>, _Expr> _Op;
4634 return __val_expr<_Op>(_Op(__acos_expr<value_type>(), __x));
4647 typedef _UnaryOp<__asin_expr<value_type>, _Expr> _Op;
4648 return __val_expr<_Op>(_Op(__asin_expr<value_type>(), __x));
4661 typedef _UnaryOp<__atan_expr<value_type>, _Expr> _Op;
4662 return __val_expr<_Op>(_Op(__atan_expr<value_type>(), __x));
4675 typedef _BinaryOp<__atan2_expr<value_type>, _Expr1, _Expr2> _Op;
4676 return __val_expr<_Op>(_Op(__atan2_expr<value_type>(), __x, __y));
4690 typedef _BinaryOp<__atan2_expr<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4691 return __val_expr<_Op>(_Op(__atan2_expr<value_type>(),
4706 typedef _BinaryOp<__atan2_expr<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4707 return __val_expr<_Op>(_Op(__atan2_expr<value_type>(),
4721 typedef _UnaryOp<__cos_expr<value_type>, _Expr> _Op;
4722 return __val_expr<_Op>(_Op(__cos_expr<value_type>(), __x));
4735 typedef _UnaryOp<__cosh_expr<value_type>, _Expr> _Op;
4736 return __val_expr<_Op>(_Op(__cosh_expr<value_type>(), __x));
4749 typedef _UnaryOp<__exp_expr<value_type>, _Expr> _Op;
4750 return __val_expr<_Op>(_Op(__exp_expr<value_type>(), __x));
4763 typedef _UnaryOp<__log_expr<value_type>, _Expr> _Op;
4764 return __val_expr<_Op>(_Op(__log_expr<value_type>(), __x));
4777 typedef _UnaryOp<__log10_expr<value_type>, _Expr> _Op;
4778 return __val_expr<_Op>(_Op(__log10_expr<value_type>(), __x));
4791 typedef _BinaryOp<__pow_expr<value_type>, _Expr1, _Expr2> _Op;
4792 return __val_expr<_Op>(_Op(__pow_expr<value_type>(), __x, __y));
4806 typedef _BinaryOp<__pow_expr<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4807 return __val_expr<_Op>(_Op(__pow_expr<value_type>(),
4822 typedef _BinaryOp<__pow_expr<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4823 return __val_expr<_Op>(_Op(__pow_expr<value_type>(),
4837 typedef _UnaryOp<__sin_expr<value_type>, _Expr> _Op;
4838 return __val_expr<_Op>(_Op(__sin_expr<value_type>(), __x));
4851 typedef _UnaryOp<__sinh_expr<value_type>, _Expr> _Op;
4852 return __val_expr<_Op>(_Op(__sinh_expr<value_type>(), __x));
4865 typedef _UnaryOp<__sqrt_expr<value_type>, _Expr> _Op;
4866 return __val_expr<_Op>(_Op(__sqrt_expr<value_type>(), __x));
4879 typedef _UnaryOp<__tan_expr<value_type>, _Expr> _Op;
4880 return __val_expr<_Op>(_Op(__tan_expr<value_type>(), __x));
4893 typedef _UnaryOp<__tanh_expr<value_type>, _Expr> _Op;
4894 return __val_expr<_Op>(_Op(__tanh_expr<value_type>(), __x));