`); SciPySciPy Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter scipy.sparse.bsr_array.has_canonical_format##property bsr_array.has_canonical_format#Whether the array/matrix has sorted indices and no duplicatesTrue: if the above appliesFalse: otherwisehas_canonical_format implies has_sorted_indices, so if the l..." />`); SciPySciPy Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter scipy.sparse.bsr_array.has_canonical_format##property bsr_array.has_canonical_format#Whether the array/matrix has sorted indices and no duplicatesTrue: if the above appliesFalse: otherwisehas_canonical_format implies has_sorted_indices, so if the l..." /> scipy.sparse.bsr_array.has_canonical_format — SciPy v1.15.3 Manual
scipy.sparse.bsr_array.

scipy.sparse.bsr_array.has_canonical_format#

property bsr_array.has_canonical_format#

Whether the array/matrix has sorted indices and no duplicates

Returns
  • True: if the above applies

  • False: otherwise

has_canonical_format implies has_sorted_indices, so if the latter flag is False, so will the former be; if the former is found True, the latter flag is also set.