EntropicCone.setMethod
set(I::AbstractArray{<:Integer})

Return the set of elements of I.

Examples

To create the set $\{2, 4\}$, use set([2, 4]) or set([4, 2]).

EntropicCone.setMethod
set(i::Integer)

Return the set of digits of the integer i. Note that this cannot create a set with elements other than 1, 2, 3, 4, 5, 6, 7, 8 and 9. For instance, the set ${2, 4, 10}$ cannot be constructed with this method, use set([2, 4, 10]) instead.

Examples

To create the set $\{2, 4\}$, use set(24) or set(42).