Skip to main content

template <int Dims,
          typename V,
          typename T,
          typename BinaryOperation>
T reduce_over_group(const group<Dims>& g,
                    V x,
                    T init,
                    BinaryOperation binary_op)

Template Parameters

int Dims
V
T
BinaryOperation

Parameters

const group<Dims>& g
V x
T init
BinaryOperation binary_op

template <int Dims,
          typename T,
          typename BinaryOperation>
T reduce_over_group(const group<Dims>& g,
                    T x,
                    BinaryOperation binary_op)

Template Parameters

int Dims
T
BinaryOperation

Parameters

const group<Dims>& g
T x
BinaryOperation binary_op