A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/scipy/scipy/issues/4409 below:

scipy.sparse.csgraph needs tests and documentation for non-canonical input · Issue #4409 · scipy/scipy · GitHub

CSR/CSC matrices and others can be non-canonical in that they have unsorted or even duplicate indices for a particular row, as well as entries that have an explicit "0" entry in a cell.

While I expect the csgraph methods work for unsorted indices, there should certainly be a test for the effect of duplicate indices (and I don't see one presently). In addition, at least connected_components treats explicit zeros as indicative of an edge (thus connected_components(X) for CSR X is not always equivalent to connected_components(X.A)), which should be documented.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4