You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
IntSet(xs::Integer...) = (s=IntSet(); for a in xs; push!(s,a); end; s)
401
+
Set{T<:Number}(xs::T...) =Set{T}(xs)
402
+
403
+
398
404
# 0.3 discontinued functions
399
405
400
406
functionnnz(X)
401
407
depwarn("nnz has been renamed to countnz and is no longer computed in constant time for sparse matrices. Instead, use nfilled() for the number of elements in a sparse matrix.", :nnz)
Construct a ``Set`` with the given elements. Should be used instead of ``IntSet`` for sparse integer sets, or for sets of arbitrary objects.
803
+
Construct a ``Set`` of the values generated by the given iterable object, or an empty set.
804
+
Should be used instead of ``IntSet`` for sparse integer sets, or for sets of arbitrary objects.
804
805
805
-
.. function:: IntSet(i...)
806
+
.. function:: IntSet([itr])
806
807
807
-
Construct a sorted set of the given integers. Implemented as a bit string, and therefore designed for dense integer sets. If the set will be sparse (for example holding a single very large integer), use ``Set`` instead.
808
+
Construct a sorted set of the integers generated by the given iterable object, or an empty set. Implemented as a bit string, and therefore designed for dense integer sets. If the set will be sparse (for example holding a single very large integer), use ``Set`` instead.
0 commit comments