bundles / scipy 1.17.1 / scipy / cluster / _hierarchy / prelist
cython_function_or_method
scipy.cluster._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.prelist