SimpleTensorGenerator< bool, NumDims > Struct Template Reference

Public Member Functions

bool operator() (const array< Index, NumDims > &coords) const
 

Member Function Documentation

◆ operator()()

template<int NumDims>
bool SimpleTensorGenerator< bool, NumDims >::operator() ( const array< Index, NumDims > &  coords) const
inline
390  {
391  bool result = false;
392  for (int i = 0; i < NumDims; ++i) {
393  result ^= coords[i];
394  }
395  return result;
396  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9

References i.


The documentation for this struct was generated from the following file: