Closed gdalle closed 3 weeks ago
That's indeed messy. ColPack has an mtx reader.
I removed it in #11
We should keep it in a section of the documentation. It is always useful to have a script to try the algorithm directly on mtx files.
Okay but this script doesn't run anyway since the downloading part is not written. Feel free to add something that uses e.g. https://github.com/JuliaLinearAlgebra/MatrixDepot.jl
Ok I was not aware of that. It's a good idea to remove the file in that case.
I want to add more docs anyway once I figure out how the package works (e.g. with #12). I can always add an example where a matrix is downloaded from the sparse matrix connection, stored in mtx
and then retrieved. But I want it to actually run in the docs, not just be some displayed code
The package SuiteSparseMatrixCollection.jl can download and install the mtx files for you as an artifact.
The file https://github.com/michel2323/ColPack.jl/blob/master/examples/coloring.jl doesn't seem to be used anywhere, and it tries to read a matrix from a file without downloading it first