Ludii Forum
Suggest (intersection) and (union) for integer arrays - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Ludii Features / Services (https://ludii.games/forums/forumdisplay.php?fid=11)
+--- Thread: Suggest (intersection) and (union) for integer arrays (/showthread.php?tid=500)



Suggest (intersection) and (union) for integer arrays - dale walton - 03-10-2021

I recently had remembered values and had to convert them to sites in order to perform intersection on them.  This should be standard for integer arrays as well as sites, no?


RE: Suggest (intersection) and (union) for integer arrays - Eric Piette - 03-11-2021

Hi,

Yes sure, the IntArrayFunctions were added later than the others, so they are less used, but yes of course you are right and these basic math functions should be added to them.

Regards,
Eric


RE: Suggest (intersection) and (union) for integer arrays - dale walton - 03-11-2021

Great. Not a rush, for most cases converting to sites is not a problem, but down the road there could be range issues.