30#ifndef GRID_LATTICE_REAL_IMAG_H
31#define GRID_LATTICE_REAL_IMAG_H
49 ret_v[ss] =real(lhs_v[ss]);
61 ret_v[ss] =imag(lhs_v[ss]);
66template<class Expression,typename std::enable_if<is_lattice_expr<Expression>::value,
void>
::type * =
nullptr>
71template<class Expression,typename std::enable_if<is_lattice_expr<Expression>::value,
void>
::type * =
nullptr>
#define accelerator_for(iterator, num, nsimd,...)
auto closure(const LatticeUnaryExpression< Op, T1 > &expr) -> Lattice< typename std::remove_const< decltype(expr.op.func(vecEval(0, expr.arg1)))>::type >
Lattice< vobj > real(const Lattice< vobj > &lhs)
Lattice< vobj > imag(const Lattice< vobj > &lhs)
#define autoView(l_v, l, mode)
#define NAMESPACE_BEGIN(A)
accelerator_inline int Checkerboard(void) const
GridBase * Grid(void) const