Lines Matching defs:_Expr
89 struct _GClos<_Expr, _Dom>
136 struct _IClos<_Expr, _Dom>
158 // class _Expr
161 class _Expr
166 _Expr(const _Clos&);
176 _Expr<_UnClos<__unary_plus, std::_Expr, _Clos>, value_type>
179 _Expr<_UnClos<__negate, std::_Expr, _Clos>, value_type>
182 _Expr<_UnClos<__bitwise_not, std::_Expr, _Clos>, value_type>
185 _Expr<_UnClos<__logical_not, std::_Expr, _Clos>, bool>
206 _Expr<_Clos, _Tp>::_Expr(const _Clos& __c) : _M_closure(__c) {}
210 _Expr<_Clos, _Tp>::operator()() const
215 _Expr<_Clos, _Tp>::operator[](size_t __i) const
220 _Expr<_Clos, _Tp>::operator[](slice __s) const
228 _Expr<_Clos, _Tp>::operator[](const gslice& __gs) const
236 _Expr<_Clos, _Tp>::operator[](const valarray<bool>& __m) const
244 _Expr<_Clos, _Tp>::operator[](const valarray<size_t>& __i) const
252 _Expr<_Clos, _Tp>::size() const
257 _Expr<_Clos, _Tp>::shift(int __n) const
265 _Expr<_Clos, _Tp>::cshift(int __n) const
273 _Expr<_Clos, _Tp>::apply(_Tp __f(const _Tp&)) const
281 _Expr<_Clos, _Tp>::apply(_Tp __f(_Tp)) const
290 _Expr<_Clos, _Tp>::sum() const
306 _Expr<_Clos, _Tp>::min() const
311 _Expr<_Clos, _Tp>::max() const
315 inline _Expr<_UnClos<__logical_not, _Expr, _Dom>, bool>
316 _Expr<_Dom, _Tp>::operator!() const
318 typedef _UnClos<__logical_not, std::_Expr, _Dom> _Closure;
319 return _Expr<_Closure, bool>(_Closure(this->_M_closure));
324 inline _Expr<_UnClos<_Name, std::_Expr, _Dom>, _Tp> \
325 _Expr<_Dom, _Tp>::operator _Op() const \
327 typedef _UnClos<_Name, std::_Expr, _Dom> _Closure; \
328 return _Expr<_Closure, _Tp>(_Closure(this->_M_closure)); \
339 inline _Expr<_BinClos<_Name, _Expr, _Expr, _Dom1, _Dom2>, \
341 operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v, \
342 const _Expr<_Dom2, typename _Dom2::value_type>& __w) \
346 typedef _BinClos<_Name, _Expr, _Expr, _Dom1, _Dom2> _Closure; \
347 return _Expr<_Closure, _Value>(_Closure(__v(), __w())); \
351 inline _Expr<_BinClos<_Name, _Expr, _Constant, _Dom, \
354 operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v, \
359 typedef _BinClos<_Name, _Expr, _Constant, _Dom, _Arg> _Closure; \
360 return _Expr<_Closure, _Value>(_Closure(__v(), __t)); \
364 inline _Expr<_BinClos<_Name, _Constant, _Expr, \
368 const _Expr<_Dom, typename _Dom::value_type>& __v) \
372 typedef _BinClos<_Name, _Constant, _Expr, _Arg, _Dom> _Closure; \
373 return _Expr<_Closure, _Value>(_Closure(__t, __v())); \
377 inline _Expr<_BinClos<_Name, _Expr, _ValArray, \
380 operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e, \
385 typedef _BinClos<_Name, _Expr, _ValArray, _Dom, _Arg> _Closure; \
386 return _Expr<_Closure, _Value>(_Closure(__e(), __v)); \
390 inline _Expr<_BinClos<_Name, _ValArray, _Expr, \
394 const _Expr<_Dom, typename _Dom::value_type>& __e) \
398 typedef _BinClos<_Name, _ValArray, _Expr, _Tp, _Dom> _Closure; \
399 return _Expr<_Closure, _Value>(_Closure(__v, __e ())); \
425 inline _Expr<_UnClos<_UName, _Expr, _Dom>, \
427 _Name(const _Expr<_Dom, typename _Dom::value_type>& __e) \
430 typedef _UnClos<_UName, _Expr, _Dom> _Closure; \
431 return _Expr<_Closure, _Tp>(_Closure(__e())); \
435 inline _Expr<_UnClos<_UName, _ValArray, _Tp>, _Tp> \
439 return _Expr<_Closure, _Tp>(_Closure(__v)); \
461 inline _Expr<_BinClos<_UFun, _Expr, _Expr, _Dom1, _Dom2>, \
463 _Fun(const _Expr<_Dom1, typename _Dom1::value_type>& __e1, \
464 const _Expr<_Dom2, typename _Dom2::value_type>& __e2) \
467 typedef _BinClos<_UFun, _Expr, _Expr, _Dom1, _Dom2> _Closure; \
468 return _Expr<_Closure, _Tp>(_Closure(__e1(), __e2())); \
472 inline _Expr<_BinClos<_UFun, _Expr, _ValArray, _Dom, \
475 _Fun(const _Expr<_Dom, typename _Dom::value_type>& __e, \
479 typedef _BinClos<_UFun, _Expr, _ValArray, _Dom, _Tp> _Closure; \
480 return _Expr<_Closure, _Tp>(_Closure(__e(), __v)); \
484 inline _Expr<_BinClos<_UFun, _ValArray, _Expr, \
488 const _Expr<_Dom, typename _Dom::value_type>& __e) \
491 typedef _BinClos<_UFun, _ValArray, _Expr, _Tp, _Dom> _Closure; \
492 return _Expr<_Closure, _Tp>(_Closure(__v, __e())); \
496 inline _Expr<_BinClos<_UFun, _Expr, _Constant, _Dom, \
499 _Fun(const _Expr<_Dom, typename _Dom::value_type>& __e, \
503 typedef _BinClos<_UFun, _Expr, _Constant, _Dom, _Tp> _Closure; \
504 return _Expr<_Closure, _Tp>(_Closure(__e(), __t)); \
508 inline _Expr<_BinClos<_UFun, _Constant, _Expr, \
512 const _Expr<_Dom, typename _Dom::value_type>& __e) \
515 typedef _BinClos<_UFun, _Constant, _Expr, _Tp, _Dom> _Closure; \
516 return _Expr<_Closure, _Tp>(_Closure(__t, __e())); \
520 inline _Expr<_BinClos<_UFun, _ValArray, _ValArray, _Tp, _Tp>, _Tp> \
524 return _Expr<_Closure, _Tp>(_Closure(__v, __w)); \
528 inline _Expr<_BinClos<_UFun, _ValArray, _Constant, _Tp, _Tp>, _Tp> \
532 return _Expr<_Closure, _Tp>(_Closure(__v, __t)); \
536 inline _Expr<_BinClos<_UFun, _Constant, _ValArray, _Tp, _Tp>, _Tp> \
540 return _Expr<_Closure, _Tp>(_Closure(__t, __v)); \