seps_to_atomic#

tangles.separations.atomic_sets.seps_to_atomic(seps: ndarray, atoms: list[ndarray]) ndarray#

Contract the rows of a matrix to their atoms.

Parameters#

sepsnp.ndarray

The separation matrix.

atomslist of np.ndarray

The list of atoms.

Returns#

np.ndarray

Contracted separation matrix.