dice-group / hypertrie

A flexible data structure for low-rank (≤ 5), sparse tensors supporting slices by any dimension and Einstein summation (einsum).
https://tentris.dice-research.org/
Apache License 2.0
14 stars 4 forks source link

Add Container Concept for dice::hash::rh_hash_ordered_container and dice::hash::rh_hash_unordered_container #61

Closed LukasKerk closed 3 years ago

LukasKerk commented 4 years ago

A concept should be added to the functions

to improve the build time and ease of use. It should be sufficient to check if the Container implements begin() and end().