bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / cluster / hierarchy / _hierarchy / prelist
cython_function_or_method
scipy.cluster.hierarchy._hierarchy:prelist
Signature
def prelist(Z, members, n)Summary
Perform a pre-order traversal on the linkage tree and get a list of ids of the leaves.
Parameters
Z: ndarrayThe linkage matrix.
members: ndarrayThe array to store the result. Note that this input array will be modified in-place.
n: intThe number of observations.
Aliases
scipy.cluster.hierarchy._hierarchy.prelist