Lines Matching refs:_Expr
88 struct _GClos<_Expr, _Dom>
135 struct _IClos<_Expr, _Dom>
157 // class _Expr
160 class _Expr
165 _Expr(const _Clos&);
175 _Expr<_UnClos<__unary_plus, std::_Expr, _Clos>, value_type>
178 _Expr<_UnClos<__negate, std::_Expr, _Clos>, value_type>
181 _Expr<_UnClos<__bitwise_not, std::_Expr, _Clos>, value_type>
184 _Expr<_UnClos<__logical_not, std::_Expr, _Clos>, bool>
205 _Expr<_Clos, _Tp>::_Expr(const _Clos& __c) : _M_closure(__c) {}
209 _Expr<_Clos, _Tp>::operator()() const
214 _Expr<_Clos, _Tp>::operator[](size_t __i) const
219 _Expr<_Clos, _Tp>::operator[](slice __s) const
227 _Expr<_Clos, _Tp>::operator[](const gslice& __gs) const
235 _Expr<_Clos, _Tp>::operator[](const valarray<bool>& __m) const
243 _Expr<_Clos, _Tp>::operator[](const valarray<size_t>& __i) const
251 _Expr<_Clos, _Tp>::size() const
256 _Expr<_Clos, _Tp>::shift(int __n) const
264 _Expr<_Clos, _Tp>::cshift(int __n) const
272 _Expr<_Clos, _Tp>::apply(_Tp __f(const _Tp&)) const
280 _Expr<_Clos, _Tp>::apply(_Tp __f(_Tp)) const
289 _Expr<_Clos, _Tp>::sum() const
305 _Expr<_Clos, _Tp>::min() const
310 _Expr<_Clos, _Tp>::max() const
314 inline _Expr<_UnClos<__logical_not, _Expr, _Dom>, bool>
315 _Expr<_Dom, _Tp>::operator!() const
317 typedef _UnClos<__logical_not, std::_Expr, _Dom> _Closure;
318 return _Expr<_Closure, bool>(_Closure(this->_M_closure));
323 inline _Expr<_UnClos<_Name, std::_Expr, _Dom>, _Tp> \
324 _Expr<_Dom, _Tp>::operator _Op() const \
326 typedef _UnClos<_Name, std::_Expr, _Dom> _Closure; \
327 return _Expr<_Closure, _Tp>(_Closure(this->_M_closure)); \
338 inline _Expr<_BinClos<_Name, _Expr, _Expr, _Dom1, _Dom2>, \
340 operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v, \
341 const _Expr<_Dom2, typename _Dom2::value_type>& __w) \
345 typedef _BinClos<_Name, _Expr, _Expr, _Dom1, _Dom2> _Closure; \
346 return _Expr<_Closure, _Value>(_Closure(__v(), __w())); \
350 inline _Expr<_BinClos<_Name, _Expr, _Constant, _Dom, \
353 operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v, \
358 typedef _BinClos<_Name, _Expr, _Constant, _Dom, _Arg> _Closure; \
359 return _Expr<_Closure, _Value>(_Closure(__v(), __t)); \
363 inline _Expr<_BinClos<_Name, _Constant, _Expr, \
367 const _Expr<_Dom, typename _Dom::value_type>& __v) \
371 typedef _BinClos<_Name, _Constant, _Expr, _Arg, _Dom> _Closure; \
372 return _Expr<_Closure, _Value>(_Closure(__t, __v())); \
376 inline _Expr<_BinClos<_Name, _Expr, _ValArray, \
379 operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e, \
384 typedef _BinClos<_Name, _Expr, _ValArray, _Dom, _Arg> _Closure; \
385 return _Expr<_Closure, _Value>(_Closure(__e(), __v)); \
389 inline _Expr<_BinClos<_Name, _ValArray, _Expr, \
393 const _Expr<_Dom, typename _Dom::value_type>& __e) \
397 typedef _BinClos<_Name, _ValArray, _Expr, _Tp, _Dom> _Closure; \
398 return _Expr<_Closure, _Value>(_Closure(__v, __e ())); \
424 inline _Expr<_UnClos<__##_Name, _Expr, _Dom>, \
426 _Name(const _Expr<_Dom, typename _Dom::value_type>& __e) \
429 typedef _UnClos<__##_Name, _Expr, _Dom> _Closure; \
430 return _Expr<_Closure, _Tp>(_Closure(__e())); \
434 inline _Expr<_UnClos<__##_Name, _ValArray, _Tp>, _Tp> \
438 return _Expr<_Closure, _Tp>(_Closure(__v)); \
460 inline _Expr<_BinClos<__##_Fun, _Expr, _Expr, _Dom1, _Dom2>, \
462 _Fun(const _Expr<_Dom1, typename _Dom1::value_type>& __e1, \
463 const _Expr<_Dom2, typename _Dom2::value_type>& __e2) \
466 typedef _BinClos<__##_Fun, _Expr, _Expr, _Dom1, _Dom2> _Closure; \
467 return _Expr<_Closure, _Tp>(_Closure(__e1(), __e2())); \
471 inline _Expr<_BinClos<__##_Fun, _Expr, _ValArray, _Dom, \
474 _Fun(const _Expr<_Dom, typename _Dom::value_type>& __e, \
478 typedef _BinClos<__##_Fun, _Expr, _ValArray, _Dom, _Tp> _Closure; \
479 return _Expr<_Closure, _Tp>(_Closure(__e(), __v)); \
483 inline _Expr<_BinClos<__##_Fun, _ValArray, _Expr, \
487 const _Expr<_Dom, typename _Dom::value_type>& __e) \
490 typedef _BinClos<__##_Fun, _ValArray, _Expr, _Tp, _Dom> _Closure; \
491 return _Expr<_Closure, _Tp>(_Closure(__v, __e())); \
495 inline _Expr<_BinClos<__##_Fun, _Expr, _Constant, _Dom, \
498 _Fun(const _Expr<_Dom, typename _Dom::value_type>& __e, \
502 typedef _BinClos<__##_Fun, _Expr, _Constant, _Dom, _Tp> _Closure;\
503 return _Expr<_Closure, _Tp>(_Closure(__e(), __t)); \
507 inline _Expr<_BinClos<__##_Fun, _Constant, _Expr, \
511 const _Expr<_Dom, typename _Dom::value_type>& __e) \
514 typedef _BinClos<__##_Fun, _Constant, _Expr, _Tp, _Dom> _Closure; \
515 return _Expr<_Closure, _Tp>(_Closure(__t, __e())); \
519 inline _Expr<_BinClos<__##_Fun, _ValArray, _ValArray, _Tp, _Tp>, _Tp> \
523 return _Expr<_Closure, _Tp>(_Closure(__v, __w)); \
527 inline _Expr<_BinClos<__##_Fun, _ValArray, _Constant, _Tp, _Tp>, _Tp> \
531 return _Expr<_Closure, _Tp>(_Closure(__v, __t)); \
535 inline _Expr<_BinClos<__##_Fun, _Constant, _ValArray, _Tp, _Tp>, _Tp> \
539 return _Expr<_Closure, _Tp>(_Closure(__t, __v)); \