vecbfn.cc

来自「A C++ class library for scientific compu」· CC 代码 · 共 2,217 行 · 第 1/5 页

CC
2,217
字号
inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExpr<P_expr2>,      _bz_Max<P_numtype1, typename P_expr2::T_numtype > > >max(const Vector<P_numtype1>& d1,       _bz_VecExpr<P_expr2> d2){    typedef _bz_VecExprOp<VectorIterConst<P_numtype1>,       _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));}// Vector<P_numtype1> max VectorPick<P_numtype2>template<class P_numtype1, class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       VectorPickIterConst<P_numtype2>,      _bz_Max<P_numtype1, P_numtype2 > > >max(const Vector<P_numtype1>& d1,       const VectorPick<P_numtype2>& d2){    typedef _bz_VecExprOp<VectorIterConst<P_numtype1>,       VectorPickIterConst<P_numtype2>,       _bz_Max<P_numtype1, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       d2.beginFast()));}// Vector<P_numtype1> max Rangetemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       Range,      _bz_Max<P_numtype1, int > > >max(const Vector<P_numtype1>& d1,       Range d2){    typedef _bz_VecExprOp<VectorIterConst<P_numtype1>,       Range,       _bz_Max<P_numtype1, int> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       d2));}// Vector<P_numtype1> max TinyVector<P_numtype2, N_length2>template<class P_numtype1, class P_numtype2, int N_length2>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       TinyVectorIterConst<P_numtype2, N_length2>,      _bz_Max<P_numtype1, P_numtype2 > > >max(const Vector<P_numtype1>& d1,       const TinyVector<P_numtype2, N_length2>& d2){    typedef _bz_VecExprOp<VectorIterConst<P_numtype1>,       TinyVectorIterConst<P_numtype2, N_length2>,       _bz_Max<P_numtype1, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       d2.beginFast()));}// Vector<P_numtype1> max inttemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExprConstant<int>,      _bz_Max<P_numtype1, int > > >max(const Vector<P_numtype1>& d1,       int d2){    typedef _bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExprConstant<int>,       _bz_Max<P_numtype1, int> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       _bz_VecExprConstant<int>(d2)));}// Vector<P_numtype1> max floattemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExprConstant<float>,      _bz_Max<P_numtype1, float > > >max(const Vector<P_numtype1>& d1,       float d2){    typedef _bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExprConstant<float>,       _bz_Max<P_numtype1, float> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       _bz_VecExprConstant<float>(d2)));}// Vector<P_numtype1> max doubletemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExprConstant<double>,      _bz_Max<P_numtype1, double > > >max(const Vector<P_numtype1>& d1,       double d2){    typedef _bz_VecExprOp<VectorIterConst<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)));}// Vector<P_numtype1> max long doubletemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExprConstant<long double>,      _bz_Max<P_numtype1, long double > > >max(const Vector<P_numtype1>& d1,       long double d2){    typedef _bz_VecExprOp<VectorIterConst<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// Vector<P_numtype1> max complex<T2>template<class P_numtype1, class T2>inline_bz_VecExpr<_bz_VecExprOp<VectorIterConst<P_numtype1>,       _bz_VecExprConstant<complex<T2> > ,      _bz_Max<P_numtype1, complex<T2>  > > >max(const Vector<P_numtype1>& d1,       complex<T2> d2){    typedef _bz_VecExprOp<VectorIterConst<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// _bz_VecExpr<P_expr1> max Vector<P_numtype2>template<class P_expr1, class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       VectorIterConst<P_numtype2>,      _bz_Max<typename P_expr1::T_numtype, P_numtype2 > > >max(_bz_VecExpr<P_expr1> d1,       const Vector<P_numtype2>& d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       VectorIterConst<P_numtype2>,       _bz_Max<typename P_expr1::T_numtype, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       d2.beginFast()));}// _bz_VecExpr<P_expr1> max _bz_VecExpr<P_expr2>template<class P_expr1, class P_expr2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExpr<P_expr2>,      _bz_Max<typename P_expr1::T_numtype, typename P_expr2::T_numtype > > >max(_bz_VecExpr<P_expr1> d1,       _bz_VecExpr<P_expr2> d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExpr<P_expr2>,       _bz_Max<typename P_expr1::T_numtype, typename P_expr2::T_numtype> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       d2));}// _bz_VecExpr<P_expr1> max VectorPick<P_numtype2>template<class P_expr1, class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       VectorPickIterConst<P_numtype2>,      _bz_Max<typename P_expr1::T_numtype, P_numtype2 > > >max(_bz_VecExpr<P_expr1> d1,       const VectorPick<P_numtype2>& d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       VectorPickIterConst<P_numtype2>,       _bz_Max<typename P_expr1::T_numtype, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       d2.beginFast()));}// _bz_VecExpr<P_expr1> max Rangetemplate<class P_expr1>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       Range,      _bz_Max<typename P_expr1::T_numtype, int > > >max(_bz_VecExpr<P_expr1> d1,       Range d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       Range,       _bz_Max<typename P_expr1::T_numtype, int> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       d2));}// _bz_VecExpr<P_expr1> max TinyVector<P_numtype2, N_length2>template<class P_expr1, class P_numtype2, int N_length2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       TinyVectorIterConst<P_numtype2, N_length2>,      _bz_Max<typename P_expr1::T_numtype, P_numtype2 > > >max(_bz_VecExpr<P_expr1> d1,       const TinyVector<P_numtype2, N_length2>& d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       TinyVectorIterConst<P_numtype2, N_length2>,       _bz_Max<typename P_expr1::T_numtype, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       d2.beginFast()));}// _bz_VecExpr<P_expr1> max inttemplate<class P_expr1>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<int>,      _bz_Max<typename P_expr1::T_numtype, int > > >max(_bz_VecExpr<P_expr1> d1,       int d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<int>,       _bz_Max<typename P_expr1::T_numtype, int> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       _bz_VecExprConstant<int>(d2)));}// _bz_VecExpr<P_expr1> max floattemplate<class P_expr1>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<float>,      _bz_Max<typename P_expr1::T_numtype, float > > >max(_bz_VecExpr<P_expr1> d1,       float d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<float>,       _bz_Max<typename P_expr1::T_numtype, float> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       _bz_VecExprConstant<float>(d2)));}// _bz_VecExpr<P_expr1> max doubletemplate<class P_expr1>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<double>,      _bz_Max<typename P_expr1::T_numtype, double > > >max(_bz_VecExpr<P_expr1> d1,       double d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<double>,       _bz_Max<typename P_expr1::T_numtype, double> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       _bz_VecExprConstant<double>(d2)));}// _bz_VecExpr<P_expr1> max long doubletemplate<class P_expr1>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<long double>,      _bz_Max<typename P_expr1::T_numtype, long double > > >max(_bz_VecExpr<P_expr1> d1,       long double d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<long double>,       _bz_Max<typename P_expr1::T_numtype, long double> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       _bz_VecExprConstant<long double>(d2)));}#ifdef BZ_HAVE_COMPLEX// _bz_VecExpr<P_expr1> max complex<T2>template<class P_expr1, class T2>inline_bz_VecExpr<_bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<complex<T2> > ,      _bz_Max<typename P_expr1::T_numtype, complex<T2>  > > >max(_bz_VecExpr<P_expr1> d1,       complex<T2> d2){    typedef _bz_VecExprOp<_bz_VecExpr<P_expr1>,       _bz_VecExprConstant<complex<T2> > ,       _bz_Max<typename P_expr1::T_numtype, complex<T2> > > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1,       _bz_VecExprConstant<complex<T2> > (d2)));}#endif // BZ_HAVE_COMPLEX// VectorPick<P_numtype1> max Vector<P_numtype2>template<class P_numtype1, class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>,       VectorIterConst<P_numtype2>,      _bz_Max<P_numtype1, P_numtype2 > > >max(const VectorPick<P_numtype1>& d1,       const Vector<P_numtype2>& d2){    typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>,       VectorIterConst<P_numtype2>,       _bz_Max<P_numtype1, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       d2.beginFast()));}// VectorPick<P_numtype1> max _bz_VecExpr<P_expr2>template<class P_numtype1, class P_expr2>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>,       _bz_VecExpr<P_expr2>,      _bz_Max<P_numtype1, typename P_expr2::T_numtype > > >max(const VectorPick<P_numtype1>& d1,       _bz_VecExpr<P_expr2> d2){    typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>,       _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));}// VectorPick<P_numtype1> max VectorPick<P_numtype2>template<class P_numtype1, class P_numtype2>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>,       VectorPickIterConst<P_numtype2>,      _bz_Max<P_numtype1, P_numtype2 > > >max(const VectorPick<P_numtype1>& d1,       const VectorPick<P_numtype2>& d2){    typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>,       VectorPickIterConst<P_numtype2>,       _bz_Max<P_numtype1, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       d2.beginFast()));}// VectorPick<P_numtype1> max Rangetemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>,       Range,      _bz_Max<P_numtype1, int > > >max(const VectorPick<P_numtype1>& d1,       Range d2){    typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>,       Range,       _bz_Max<P_numtype1, int> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       d2));}// VectorPick<P_numtype1> max TinyVector<P_numtype2, N_length2>template<class P_numtype1, class P_numtype2, int N_length2>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>,       TinyVectorIterConst<P_numtype2, N_length2>,      _bz_Max<P_numtype1, P_numtype2 > > >max(const VectorPick<P_numtype1>& d1,       const TinyVector<P_numtype2, N_length2>& d2){    typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>,       TinyVectorIterConst<P_numtype2, N_length2>,       _bz_Max<P_numtype1, P_numtype2> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       d2.beginFast()));}// VectorPick<P_numtype1> max inttemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>,       _bz_VecExprConstant<int>,      _bz_Max<P_numtype1, int > > >max(const VectorPick<P_numtype1>& d1,       int d2){    typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>,       _bz_VecExprConstant<int>,       _bz_Max<P_numtype1, int> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       _bz_VecExprConstant<int>(d2)));}// VectorPick<P_numtype1> max floattemplate<class P_numtype1>inline_bz_VecExpr<_bz_VecExprOp<VectorPickIterConst<P_numtype1>,       _bz_VecExprConstant<float>,      _bz_Max<P_numtype1, float > > >max(const VectorPick<P_numtype1>& d1,       float d2){    typedef _bz_VecExprOp<VectorPickIterConst<P_numtype1>,       _bz_VecExprConstant<float>,       _bz_Max<P_numtype1, float> > T_expr;    return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(),       _bz_VecExprConstant<float>(d2)));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?