add_all_corners_of_features#
- tangles.separations.finding.add_all_corners_of_features(feat: ndarray) ndarray #
Calculates the four corners of every pair of features from an input array.
Returns an array containing every corner after removing duplicates and inverses as well as the original features.
Parameters#
- featnp.ndarray
The input features, given by columns encoded as -1/1 indicator vectors.
Returns#
- np.ndarray
The array of corners.