Template Function sequant::subsequence

Function Documentation

template<typename Iterable>
auto sequant::subsequence(Iterable const &it, boost::dynamic_bitset<> const &bs)

Given an iterable it and a bitset bs, select the elements in the iterable that correspond to an ‘on’ bit.