📄 vecwhere.cc
字号:
// where(Vector<P_numtype1>, double, Range)template<class P_numtype1>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<double>, Range > >where(const Vector<P_numtype1>& d1, double d2, Range d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<double>, Range > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<double>(d2), d3));}// where(Vector<P_numtype1>, double, TinyVector<P_numtype3, N_length3>)template<class P_numtype1, class P_numtype3, int N_length3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<double>, TinyVectorIterConst<P_numtype3, N_length3> > >where(const Vector<P_numtype1>& d1, double d2, const TinyVector<P_numtype3, N_length3>& d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<double>, TinyVectorIterConst<P_numtype3, N_length3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<double>(d2), d3.beginFast()));}// where(Vector<P_numtype1>, double, double)template<class P_numtype1>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<double>, _bz_VecExprConstant<double> > >where(const Vector<P_numtype1>& d1, double d2, double d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<double>, _bz_VecExprConstant<double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<double>(d2), _bz_VecExprConstant<double>(d3)));}// where(Vector<P_numtype1>, long double, Vector<P_numtype3>)template<class P_numtype1, class P_numtype3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, VectorIterConst<P_numtype3> > >where(const Vector<P_numtype1>& d1, long double d2, const Vector<P_numtype3>& d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, VectorIterConst<P_numtype3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2), d3.beginFast()));}// where(Vector<P_numtype1>, long double, _bz_VecExpr<P_expr3>)template<class P_numtype1, class P_expr3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, _bz_VecExpr<P_expr3> > >where(const Vector<P_numtype1>& d1, long double d2, _bz_VecExpr<P_expr3> d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, _bz_VecExpr<P_expr3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2), d3));}// where(Vector<P_numtype1>, long double, VectorPick<P_numtype3>)template<class P_numtype1, class P_numtype3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, VectorPickIterConst<P_numtype3> > >where(const Vector<P_numtype1>& d1, long double d2, const VectorPick<P_numtype3>& d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, VectorPickIterConst<P_numtype3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2), d3.beginFast()));}// where(Vector<P_numtype1>, long double, Range)template<class P_numtype1>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, Range > >where(const Vector<P_numtype1>& d1, long double d2, Range d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, Range > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2), d3));}// where(Vector<P_numtype1>, long double, TinyVector<P_numtype3, N_length3>)template<class P_numtype1, class P_numtype3, int N_length3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, TinyVectorIterConst<P_numtype3, N_length3> > >where(const Vector<P_numtype1>& d1, long double d2, const TinyVector<P_numtype3, N_length3>& d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, TinyVectorIterConst<P_numtype3, N_length3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2), d3.beginFast()));}// where(Vector<P_numtype1>, long double, long double)template<class P_numtype1>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, _bz_VecExprConstant<long double> > >where(const Vector<P_numtype1>& d1, long double d2, long double d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<long double>, _bz_VecExprConstant<long double> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<long double>(d2), _bz_VecExprConstant<long double>(d3)));}// where(Vector<P_numtype1>, complex<T2>, Vector<P_numtype3>)#ifdef BZ_HAVE_COMPLEXtemplate<class P_numtype1, class T2, class P_numtype3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , VectorIterConst<P_numtype3> > >where(const Vector<P_numtype1>& d1, complex<T2> d2, const Vector<P_numtype3>& d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , VectorIterConst<P_numtype3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2), d3.beginFast()));}#endif // BZ_HAVE_COMPLEX// where(Vector<P_numtype1>, complex<T2>, _bz_VecExpr<P_expr3>)#ifdef BZ_HAVE_COMPLEXtemplate<class P_numtype1, class T2, class P_expr3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , _bz_VecExpr<P_expr3> > >where(const Vector<P_numtype1>& d1, complex<T2> d2, _bz_VecExpr<P_expr3> d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , _bz_VecExpr<P_expr3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2), d3));}#endif // BZ_HAVE_COMPLEX// where(Vector<P_numtype1>, complex<T2>, VectorPick<P_numtype3>)#ifdef BZ_HAVE_COMPLEXtemplate<class P_numtype1, class T2, class P_numtype3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , VectorPickIterConst<P_numtype3> > >where(const Vector<P_numtype1>& d1, complex<T2> d2, const VectorPick<P_numtype3>& d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , VectorPickIterConst<P_numtype3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2), d3.beginFast()));}#endif // BZ_HAVE_COMPLEX// where(Vector<P_numtype1>, complex<T2>, Range)#ifdef BZ_HAVE_COMPLEXtemplate<class P_numtype1, class T2>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , Range > >where(const Vector<P_numtype1>& d1, complex<T2> d2, Range d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , Range > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2), d3));}#endif // BZ_HAVE_COMPLEX// where(Vector<P_numtype1>, complex<T2>, TinyVector<P_numtype3, N_length3>)#ifdef BZ_HAVE_COMPLEXtemplate<class P_numtype1, class T2, class P_numtype3, int N_length3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , TinyVectorIterConst<P_numtype3, N_length3> > >where(const Vector<P_numtype1>& d1, complex<T2> d2, const TinyVector<P_numtype3, N_length3>& d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , TinyVectorIterConst<P_numtype3, N_length3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2), d3.beginFast()));}#endif // BZ_HAVE_COMPLEX// where(Vector<P_numtype1>, complex<T2>, complex<T3>)#ifdef BZ_HAVE_COMPLEXtemplate<class P_numtype1, class T2, class T3>inline_bz_VecExpr<_bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , _bz_VecExprConstant<complex<T3> > > >where(const Vector<P_numtype1>& d1, complex<T2> d2, complex<T3> d3){ typedef _bz_VecWhere<VectorIterConst<P_numtype1>, _bz_VecExprConstant<complex<T2> > , _bz_VecExprConstant<complex<T3> > > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1.beginFast(), _bz_VecExprConstant<complex<T2> > (d2), _bz_VecExprConstant<complex<T3> > (d3)));}#endif // BZ_HAVE_COMPLEX// where(_bz_VecExpr<P_expr1>, Vector<P_numtype2>, Vector<P_numtype3>)template<class P_expr1, class P_numtype2, class P_numtype3>inline_bz_VecExpr<_bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, VectorIterConst<P_numtype3> > >where(_bz_VecExpr<P_expr1> d1, const Vector<P_numtype2>& d2, const Vector<P_numtype3>& d3){ typedef _bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, VectorIterConst<P_numtype3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast(), d3.beginFast()));}// where(_bz_VecExpr<P_expr1>, Vector<P_numtype2>, _bz_VecExpr<P_expr3>)template<class P_expr1, class P_numtype2, class P_expr3>inline_bz_VecExpr<_bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, _bz_VecExpr<P_expr3> > >where(_bz_VecExpr<P_expr1> d1, const Vector<P_numtype2>& d2, _bz_VecExpr<P_expr3> d3){ typedef _bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, _bz_VecExpr<P_expr3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast(), d3));}// where(_bz_VecExpr<P_expr1>, Vector<P_numtype2>, VectorPick<P_numtype3>)template<class P_expr1, class P_numtype2, class P_numtype3>inline_bz_VecExpr<_bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, VectorPickIterConst<P_numtype3> > >where(_bz_VecExpr<P_expr1> d1, const Vector<P_numtype2>& d2, const VectorPick<P_numtype3>& d3){ typedef _bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, VectorPickIterConst<P_numtype3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast(), d3.beginFast()));}// where(_bz_VecExpr<P_expr1>, Vector<P_numtype2>, Range)template<class P_expr1, class P_numtype2>inline_bz_VecExpr<_bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, Range > >where(_bz_VecExpr<P_expr1> d1, const Vector<P_numtype2>& d2, Range d3){ typedef _bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, Range > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast(), d3));}// where(_bz_VecExpr<P_expr1>, Vector<P_numtype2>, TinyVector<P_numtype3, N_length3>)template<class P_expr1, class P_numtype2, class P_numtype3, int N_length3>inline_bz_VecExpr<_bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, TinyVectorIterConst<P_numtype3, N_length3> > >where(_bz_VecExpr<P_expr1> d1, const Vector<P_numtype2>& d2, const TinyVector<P_numtype3, N_length3>& d3){ typedef _bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, TinyVectorIterConst<P_numtype3, N_length3> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast(), d3.beginFast()));}// where(_bz_VecExpr<P_expr1>, Vector<P_numtype2>, int)template<class P_expr1, class P_numtype2>inline_bz_VecExpr<_bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, _bz_VecExprConstant<int> > >where(_bz_VecExpr<P_expr1> d1, const Vector<P_numtype2>& d2, int d3){ typedef _bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, _bz_VecExprConstant<int> > T_expr; return _bz_VecExpr<T_expr>(T_expr(d1, d2.beginFast(), _bz_VecExprConstant<int>(d3)));}// where(_bz_VecExpr<P_expr1>, Vector<P_numtype2>, float)template<class P_expr1, class P_numtype2>inline_bz_VecExpr<_bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, _bz_VecExprConstant<float> > >where(_bz_VecExpr<P_expr1> d1, const Vector<P_numtype2>& d2, float d3){ typedef _bz_VecWhere<_bz_VecExpr<P_expr1>, VectorIterConst<P_numtype2>, _bz_VecExprConstant<float> > T_expr;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -