Lines Matching refs:_Expr
90 struct _GClos<_Expr, _Dom>
137 struct _IClos<_Expr, _Dom>
159 // class _Expr
162 class _Expr
167 _Expr(const _Clos&);
177 _Expr<_UnClos<__unary_plus, std::_Expr, _Clos>, value_type>
180 _Expr<_UnClos<__negate, std::_Expr, _Clos>, value_type>
183 _Expr<_UnClos<__bitwise_not, std::_Expr, _Clos>, value_type>
186 _Expr<_UnClos<__logical_not, std::_Expr, _Clos>, bool>
207 _Expr<_Clos, _Tp>::_Expr(const _Clos& __c) : _M_closure(__c) {}
211 _Expr<_Clos, _Tp>::operator()() const
216 _Expr<_Clos, _Tp>::operator[](size_t __i) const
221 _Expr<_Clos, _Tp>::operator[](slice __s) const
229 _Expr<_Clos, _Tp>::operator[](const gslice& __gs) const
237 _Expr<_Clos, _Tp>::operator[](const valarray<bool>& __m) const
245 _Expr<_Clos, _Tp>::operator[](const valarray<size_t>& __i) const
253 _Expr<_Clos, _Tp>::size() const
258 _Expr<_Clos, _Tp>::shift(int __n) const
266 _Expr<_Clos, _Tp>::cshift(int __n) const
274 _Expr<_Clos, _Tp>::apply(_Tp __f(const _Tp&)) const
282 _Expr<_Clos, _Tp>::apply(_Tp __f(_Tp)) const
291 _Expr<_Clos, _Tp>::sum() const
307 _Expr<_Clos, _Tp>::min() const
312 _Expr<_Clos, _Tp>::max() const
316 inline _Expr<_UnClos<__logical_not, _Expr, _Dom>, bool>
317 _Expr<_Dom, _Tp>::operator!() const
319 typedef _UnClos<__logical_not, std::_Expr, _Dom> _Closure;
320 return _Expr<_Closure, bool>(_Closure(this->_M_closure));
325 inline _Expr<_UnClos<_Name, std::_Expr, _Dom>, _Tp> \
326 _Expr<_Dom, _Tp>::operator _Op() const \
328 typedef _UnClos<_Name, std::_Expr, _Dom> _Closure; \
329 return _Expr<_Closure, _Tp>(_Closure(this->_M_closure)); \
340 inline _Expr<_BinClos<_Name, _Expr, _Expr, _Dom1, _Dom2>, \
342 operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v, \
343 const _Expr<_Dom2, typename _Dom2::value_type>& __w) \
347 typedef _BinClos<_Name, _Expr, _Expr, _Dom1, _Dom2> _Closure; \
348 return _Expr<_Closure, _Value>(_Closure(__v(), __w())); \
352 inline _Expr<_BinClos<_Name, _Expr, _Constant, _Dom, \
355 operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v, \
360 typedef _BinClos<_Name, _Expr, _Constant, _Dom, _Arg> _Closure; \
361 return _Expr<_Closure, _Value>(_Closure(__v(), __t)); \
365 inline _Expr<_BinClos<_Name, _Constant, _Expr, \
369 const _Expr<_Dom, typename _Dom::value_type>& __v) \
373 typedef _BinClos<_Name, _Constant, _Expr, _Arg, _Dom> _Closure; \
374 return _Expr<_Closure, _Value>(_Closure(__t, __v())); \
378 inline _Expr<_BinClos<_Name, _Expr, _ValArray, \
381 operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e, \
386 typedef _BinClos<_Name, _Expr, _ValArray, _Dom, _Arg> _Closure; \
387 return _Expr<_Closure, _Value>(_Closure(__e(), __v)); \
391 inline _Expr<_BinClos<_Name, _ValArray, _Expr, \
395 const _Expr<_Dom, typename _Dom::value_type>& __e) \
399 typedef _BinClos<_Name, _ValArray, _Expr, _Tp, _Dom> _Closure; \
400 return _Expr<_Closure, _Value>(_Closure(__v, __e ())); \
426 inline _Expr<_UnClos<_UName, _Expr, _Dom>, \
428 _Name(const _Expr<_Dom, typename _Dom::value_type>& __e) \
431 typedef _UnClos<_UName, _Expr, _Dom> _Closure; \
432 return _Expr<_Closure, _Tp>(_Closure(__e())); \
436 inline _Expr<_UnClos<_UName, _ValArray, _Tp>, _Tp> \
440 return _Expr<_Closure, _Tp>(_Closure(__v)); \
462 inline _Expr<_BinClos<_UFun, _Expr, _Expr, _Dom1, _Dom2>, \
464 _Fun(const _Expr<_Dom1, typename _Dom1::value_type>& __e1, \
465 const _Expr<_Dom2, typename _Dom2::value_type>& __e2) \
468 typedef _BinClos<_UFun, _Expr, _Expr, _Dom1, _Dom2> _Closure; \
469 return _Expr<_Closure, _Tp>(_Closure(__e1(), __e2())); \
473 inline _Expr<_BinClos<_UFun, _Expr, _ValArray, _Dom, \
476 _Fun(const _Expr<_Dom, typename _Dom::value_type>& __e, \
480 typedef _BinClos<_UFun, _Expr, _ValArray, _Dom, _Tp> _Closure; \
481 return _Expr<_Closure, _Tp>(_Closure(__e(), __v)); \
485 inline _Expr<_BinClos<_UFun, _ValArray, _Expr, \
489 const _Expr<_Dom, typename _Dom::value_type>& __e) \
492 typedef _BinClos<_UFun, _ValArray, _Expr, _Tp, _Dom> _Closure; \
493 return _Expr<_Closure, _Tp>(_Closure(__v, __e())); \
497 inline _Expr<_BinClos<_UFun, _Expr, _Constant, _Dom, \
500 _Fun(const _Expr<_Dom, typename _Dom::value_type>& __e, \
504 typedef _BinClos<_UFun, _Expr, _Constant, _Dom, _Tp> _Closure; \
505 return _Expr<_Closure, _Tp>(_Closure(__e(), __t)); \
509 inline _Expr<_BinClos<_UFun, _Constant, _Expr, \
513 const _Expr<_Dom, typename _Dom::value_type>& __e) \
516 typedef _BinClos<_UFun, _Constant, _Expr, _Tp, _Dom> _Closure; \
517 return _Expr<_Closure, _Tp>(_Closure(__t, __e())); \
521 inline _Expr<_BinClos<_UFun, _ValArray, _ValArray, _Tp, _Tp>, _Tp> \
525 return _Expr<_Closure, _Tp>(_Closure(__v, __w)); \
529 inline _Expr<_BinClos<_UFun, _ValArray, _Constant, _Tp, _Tp>, _Tp> \
533 return _Expr<_Closure, _Tp>(_Closure(__v, __t)); \
537 inline _Expr<_BinClos<_UFun, _Constant, _ValArray, _Tp, _Tp>, _Tp> \
541 return _Expr<_Closure, _Tp>(_Closure(__t, __v)); \