gustaf.utils.connec.sorted_unique#

gustaf.utils.connec.sorted_unique(connectivity, sorted_=False)[source]#

Given connectivity array, finds unique entries, based on its axis=1 sorted values. Returned value will be sorted.

Parameters:
  • connectivity ((n, d) np.ndarray)

  • sorted (bool)

Returns:

unique_info

Return type:

Unique2DIntegers