Array of sets of integers
1 view (last 30 days)
Show older comments
Can anyone please help me to create an memory-efficient solution for creating an array of sets where each set contains only 32bit unsigned integer. Currently I am using Cell data structure but it seems rather inefficient.
Thanks,
Answers (1)
Walter Roberson
on 22 Jan 2016
If you saying that you need arrays of sets, each of which consists of no more than 32 elements, then you can use int32() and bitset, bitget, bitand (intersection), bitor (union)
0 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!