metagraph-dev / mlir-graphblas

MLIR tools and dialect for GraphBLAS
https://mlir-graphblas.readthedocs.io/en/latest/
Apache License 2.0
15 stars 6 forks source link

Improve formatting of printed matrices #228

Open paul-tqh-nguyen opened 2 years ago

paul-tqh-nguyen commented 2 years ago

https://github.com/metagraph-dev/mlir-graphblas/pull/227 adds support in graphblas.print to print dense, CSR, CSC, and CV tensors. When printing matrices, it would be nice if we could print them in such a way that all the values of a column line up vertically (similar to how NumPy prints matrices).