📄 vecbfn.cc
字号:
}// VectorPick<P_numtype1> max doubletemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>, _bz_VecExprConstant<double>, _bz_Max<P_numtype1, double > > >max(const VectorPick<P_numtype1>& d1, double d2){ typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>, _bz_VecExprConstant<double>, _bz_Max<P_numtype1, double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<double>(d2)));}// VectorPick<P_numtype1> max long doubletemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>, _bz_VecExprConstant<long double>, _bz_Max<P_numtype1, long double > > >max(const VectorPick<P_numtype1>& d1, long double d2){ typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>, _bz_VecExprConstant<long double>, _bz_Max<P_numtype1, long double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2)));}#ifdef BZ_HAVE_COMPLEX// VectorPick<P_numtype1> max complex<T2>template<class P_numtype1, class T2>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , _bz_Max<P_numtype1, complex<T2> > > >max(const VectorPick<P_numtype1>& d1, complex<T2> d2){ typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , _bz_Max<P_numtype1, complex<T2> > > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2)));}#endif // BZ_HAVE_COMPLEX// Range max Vector<P_numtype2>template<class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<Range, VectorIterConst<P_numtype2>, _bz_Max<int, P_numtype2 > > >max(Range d1, const Vector<P_numtype2>& d2){ typedef _bz_VecExprOp<Range, VectorIterConst<P_numtype2>, _bz_Max<int, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast()));}// Range max _bz_VecExpr<P_expr2>template<class P_expr2>inline_bz_VecExpr<_bz_VecExprOp<Range, _bz_VecExpr<P_expr2>, _bz_Max<int, typename P_expr2::T_numtype > > >max(Range d1, _bz_VecExpr<P_expr2> d2){ typedef _bz_VecExprOp<Range, _bz_VecExpr<P_expr2>, _bz_Max<int, typename P_expr2::T_numtype> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2));}// Range max VectorPick<P_numtype2>template<class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<Range, VectorPickIterConst<P_numtype2>, _bz_Max<int, P_numtype2 > > >max(Range d1, const VectorPick<P_numtype2>& d2){ typedef _bz_VecExprOp<Range, VectorPickIterConst<P_numtype2>, _bz_Max<int, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast()));}// Range max Rangeinline_bz_VecExpr<_bz_VecExprOp<Range, Range, _bz_Max<int, int > > >max(Range d1, Range d2){ typedef _bz_VecExprOp<Range, Range, _bz_Max<int, int> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2));}// Range max TinyVector<P_numtype2, N_length2>template<class P_numtype2, int N_length2>inline_bz_VecExpr<_bz_VecExprOp<Range, TinyVectorIterConst<P_numtype2, N_length2>, _bz_Max<int, P_numtype2 > > >max(Range d1, const TinyVector<P_numtype2, N_length2>& d2){ typedef _bz_VecExprOp<Range, TinyVectorIterConst<P_numtype2, N_length2>, _bz_Max<int, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast()));}// Range max floatinline_bz_VecExpr<_bz_VecExprOp<Range, _bz_VecExprConstant<float>, _bz_Max<int, float > > >max(Range d1, float d2){ typedef _bz_VecExprOp<Range, _bz_VecExprConstant<float>, _bz_Max<int, float> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, _bz_VecExprConstant<float>(d2)));}// Range max doubleinline_bz_VecExpr<_bz_VecExprOp<Range, _bz_VecExprConstant<double>, _bz_Max<int, double > > >max(Range d1, double d2){ typedef _bz_VecExprOp<Range, _bz_VecExprConstant<double>, _bz_Max<int, double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, _bz_VecExprConstant<double>(d2)));}// Range max long doubleinline_bz_VecExpr<_bz_VecExprOp<Range, _bz_VecExprConstant<long double>, _bz_Max<int, long double > > >max(Range d1, long double d2){ typedef _bz_VecExprOp<Range, _bz_VecExprConstant<long double>, _bz_Max<int, long double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, _bz_VecExprConstant<long double>(d2)));}#ifdef BZ_HAVE_COMPLEX// Range max complex<T2>template<class T2>inline_bz_VecExpr<_bz_VecExprOp<Range, _bz_VecExprConstant<complex<T2> > , _bz_Max<int, complex<T2> > > >max(Range d1, complex<T2> d2){ typedef _bz_VecExprOp<Range, _bz_VecExprConstant<complex<T2> > , _bz_Max<int, complex<T2> > > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, _bz_VecExprConstant<complex<T2> > (d2)));}#endif // BZ_HAVE_COMPLEX// TinyVector<P_numtype1, N_length1> max Vector<P_numtype2>template<class P_numtype1, int N_length1, class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, VectorIterConst<P_numtype2>, _bz_Max<P_numtype1, P_numtype2 > > >max(const TinyVector<P_numtype1, N_length1>& d1, const Vector<P_numtype2>& d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, VectorIterConst<P_numtype2>, _bz_Max<P_numtype1, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), d2.beginFast()));}// TinyVector<P_numtype1, N_length1> max _bz_VecExpr<P_expr2>template<class P_numtype1, int N_length1, class P_expr2>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExpr<P_expr2>, _bz_Max<P_numtype1, typename P_expr2::T_numtype > > >max(const TinyVector<P_numtype1, N_length1>& d1, _bz_VecExpr<P_expr2> d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExpr<P_expr2>, _bz_Max<P_numtype1, typename P_expr2::T_numtype> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), d2));}// TinyVector<P_numtype1, N_length1> max VectorPick<P_numtype2>template<class P_numtype1, int N_length1, class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, VectorPickIterConst<P_numtype2>, _bz_Max<P_numtype1, P_numtype2 > > >max(const TinyVector<P_numtype1, N_length1>& d1, const VectorPick<P_numtype2>& d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, VectorPickIterConst<P_numtype2>, _bz_Max<P_numtype1, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), d2.beginFast()));}// TinyVector<P_numtype1, N_length1> max Rangetemplate<class P_numtype1, int N_length1>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, Range, _bz_Max<P_numtype1, int > > >max(const TinyVector<P_numtype1, N_length1>& d1, Range d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, Range, _bz_Max<P_numtype1, int> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), d2));}// TinyVector<P_numtype1, N_length1> max TinyVector<P_numtype2, N_length2>template<class P_numtype1, int N_length1, class P_numtype2, int N_length2>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, TinyVectorIterConst<P_numtype2, N_length2>, _bz_Max<P_numtype1, P_numtype2 > > >max(const TinyVector<P_numtype1, N_length1>& d1, const TinyVector<P_numtype2, N_length2>& d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, TinyVectorIterConst<P_numtype2, N_length2>, _bz_Max<P_numtype1, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), d2.beginFast()));}// TinyVector<P_numtype1, N_length1> max inttemplate<class P_numtype1, int N_length1>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<int>, _bz_Max<P_numtype1, int > > >max(const TinyVector<P_numtype1, N_length1>& d1, int d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<int>, _bz_Max<P_numtype1, int> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<int>(d2)));}// TinyVector<P_numtype1, N_length1> max floattemplate<class P_numtype1, int N_length1>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<float>, _bz_Max<P_numtype1, float > > >max(const TinyVector<P_numtype1, N_length1>& d1, float d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<float>, _bz_Max<P_numtype1, float> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<float>(d2)));}// TinyVector<P_numtype1, N_length1> max doubletemplate<class P_numtype1, int N_length1>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<double>, _bz_Max<P_numtype1, double > > >max(const TinyVector<P_numtype1, N_length1>& d1, double d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<double>, _bz_Max<P_numtype1, double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<double>(d2)));}// TinyVector<P_numtype1, N_length1> max long doubletemplate<class P_numtype1, int N_length1>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<long double>, _bz_Max<P_numtype1, long double > > >max(const TinyVector<P_numtype1, N_length1>& d1, long double d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<long double>, _bz_Max<P_numtype1, long double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2)));}#ifdef BZ_HAVE_COMPLEX// TinyVector<P_numtype1, N_length1> max complex<T2>template<class P_numtype1, int N_length1, class T2>inline_bz_VecExpr<_bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<complex<T2> > , _bz_Max<P_numtype1, complex<T2> > > >max(const TinyVector<P_numtype1, N_length1>& d1, complex<T2> d2){ typedef _bz_VecExprOp<TinyVectorIterConst<P_numtype1, N_length1>, _bz_VecExprConstant<complex<T2> > , _bz_Max<P_numtype1, complex<T2> > > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2)));}#endif // BZ_HAVE_COMPLEX// int max Vector<P_numtype2>template<class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExprConstant<int>, VectorIterConst<P_numtype2>, _bz_Max<int, P_numtype2 > > >max(int d1, const Vector<P_numtype2>& d2){ typedef _bz_VecExprOp<_bz_VecExprConstant<int>, VectorIterConst<P_numtype2>, _bz_Max<int, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(_bz_VecExprConstant<int>(d1), d2.beginFast()));}// int max _bz_VecExpr<P_expr2>template<class P_expr2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExprConstant<int>, _bz_VecExpr<P_expr2>, _bz_Max<int, typename P_expr2::T_numtype > > >max(int d1, _bz_VecExpr<P_expr2> d2){ typedef _bz_VecExprOp<_bz_VecExprConstant<int>, _bz_VecExpr<P_expr2>, _bz_Max<int, typename P_expr2::T_numtype> > T_expr; return _bz_VecExpr<T_expr>(T_expr(_bz_VecExprConstant<int>(d1), d2));}// int max VectorPick<P_numtype2>template<class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExprConstant<int>, VectorPickIterConst<P_numtype2>, _bz_Max<int, P_numtype2 > > >max(int d1, const VectorPick<P_numtype2>& d2){ typedef _bz_VecExprOp<_bz_VecExprConstant<int>, VectorPickIterConst<P_numtype2>, _bz_Max<int, P_numtype2> > T_expr; return _bz_VecExpr<T_expr>(T_expr(_bz_VecExprConstant<int>(d1), d2.beginFast()));}// int max TinyVector<P_numtype2, N_length2>template<class P_numtype2, int N_length2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExprConstant<int>,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -