bundles / scipy 1.17.1 / scipy / _lib / _disjoint_set / DisjointSet / __getitem__
function
scipy._lib._disjoint_set:DisjointSet.__getitem__
Signature
def __getitem__ ( self , x ) Summary
Find the root element of x.
Parameters
x: hashable objectInput element.
Returns
root: hashable objectRoot element of
x.
Aliases
-
scipy.cluster.hierarchy.DisjointSet.__getitem__