Nevermind.  Found the collect() function.

On Wednesday, February 4, 2015 at 11:19:48 AM UTC-8, Michael Wojnowicz 
wrote:
>
> It appears to be possible to convert an array of integers to an IntSet, 
> using for example a function of the form IntSet(IntegerArrayName), but it 
> does not appear possible to back-convert, using a function of the form 
> int(IntSetName) or convert(Array{Int64,1},IntSetName)  
>
> The back-conversion would be useful for doing non-set theoretical 
> mathematical functions, such as taking the median or mode.   
>
> Of course it is not terribly hard to preallocate a vector of Integers and 
> extract out the elements, but this starts to become (to my R and MATLAB 
> trained sensibilities) a bit of a nuisance when e.g. dealing with arrays of 
> IntSets in a more complicated algorithm.
>
> Would it be possible to add such a back conversion to the base package?
>
> -Mike
>  
>
>
>

Reply via email to