|
datasketches-cpp
|
array tuple union More...
#include <array_tuple_union.hpp>
Public Member Functions | |
| template<typename FwdSketch> | |
| void | update (FwdSketch &&sketch) |
| Update the union with a given sketch. | |
| Public Member Functions inherited from tuple_union< Summary, Policy, Allocator > | |
| template<typename FwdSketch> | |
| void | update (FwdSketch &&sketch) |
| Update the union with a given sketch. | |
| CompactSketch | get_result (bool ordered=true) const |
| Produces a copy of the current state of the union as a compact sketch. | |
| void | reset () |
| Reset the union to the initial empty state. | |
array tuple union
| void update | ( | FwdSketch && | sketch | ) |
Update the union with a given sketch.
The sketch must have the same number of values as the union policy.
| sketch | to update the union with |
| std::invalid_argument | if the number of values does not match |