16 template <
size_t Tape,
19 -> std::enable_if_t<is_multitape<LabelSet>{},
20 project_context<Tape, context<LabelSet, WeightSet>>>
27 return {
ctx.labelset()->template project<Tape>(), *
ctx.weightset()};
32 template <
size_t Tape,
35 -> std::enable_if_t<!is_multitape<LabelSet>{},
38 static_assert(Tape == 0,
39 "project: cannot extract non-0 tape from a non tupleset"
context< LabelSet, WeightSet >
auto project(const expressionset< Context > &rs)
Project an expressionset to one tape.