9template <
typename ContainerOverSubrelations,
typename AllEntities>
11 const AllEntities& in,
13 [[maybe_unused]]
const FF_& scaling_factor)
19 const auto tx_LAST_ROW_OF_SETUP = (
FF(1) - in.get(C::tx_is_revertible)) * in.get(C::tx_is_revertible_shift);
20 const auto tx_PROPAGATE_DISCARD = (
FF(1) - tx_LAST_ROW_OF_SETUP) * (
FF(1) - in.get(C::tx_reverted));
24 auto tmp = in.get(C::tx_discard) * (
FF(1) - in.get(C::tx_discard));
25 tmp *= scaling_factor;
26 std::get<0>(evals) +=
typename Accumulator::View(tmp);
30 auto tmp = in.get(C::tx_discard) * (
FF(1) - in.get(C::tx_is_revertible));
31 tmp *= scaling_factor;
32 std::get<1>(evals) +=
typename Accumulator::View(tmp);
36 auto tmp = in.get(C::tx_reverted) * (
FF(1) - in.get(C::tx_discard));
37 tmp *= scaling_factor;
38 std::get<2>(evals) +=
typename Accumulator::View(tmp);
42 auto tmp = in.get(C::tx_sel) * tx_PROPAGATE_DISCARD * (in.get(C::tx_discard_shift) - in.get(C::tx_discard));
43 tmp *= scaling_factor;
44 std::get<3>(evals) +=
typename Accumulator::View(tmp);
static void accumulate(ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
#define PROFILE_THIS_NAME(name)
Container for parameters used by the grand product (permutation, lookup) Honk relations.