CExA-project / ddc

DDC is a discrete domain computation library.
https://ddc.mdls.fr
Other
33 stars 5 forks source link

Unification of the interface of multi-dimensional algorithms #76

Open tpadioleau opened 2 years ago

tpadioleau commented 2 years ago

I suggest that we try an implementation of the for_each algorithm independent of the DiscreteDomain and DiscreteVector classes. I would prefer an implementation that should work for any class that implements the concept of a cartesian product, that remains to be defined.

This also applies to transform_reduce and deep_copy.

tpadioleau commented 2 years ago

Detail: the priority would be to support cartesian products of random access iterators.

jbigot commented 2 years ago

I think this is a great idea!