Getting started
User Guide
API reference
Development
Release notes
GitHub
scipy.cluster.hierarchy.DisjointSet.__getitem__
¶
DisjointSet.
__getitem__
(
x
)
[source]
¶
Find the root element of
x
.
Parameters
x
hashable object
Input element.
Returns
root
hashable object
Root element of
x
.
scipy.cluster.hierarchy.DisjointSet.subsets
Constants (
scipy.constants
)