I am trying to output a "large" (16x16) sparse matrix to look at its elements. I find that it is always output as Braille pattern. That should not be; there should be a way to see all (non-zero) elements of a sparse matrix. This is possible for dense matrices.
The source code confirms this: File sparsematrix.jl, function Base.show, has a hard-coded limit of <16 for the matrix size that is output; otherwise, only the non-zero pattern is output.
It would be good if the code examined the current display width, as it already does in the preceding function _show_with_braille_patterns.
The work-around I found is to call Base.print_matrix directly.
I am trying to output a "large" (16x16) sparse matrix to look at its elements. I find that it is always output as Braille pattern. That should not be; there should be a way to see all (non-zero) elements of a sparse matrix. This is possible for dense matrices.
The source code confirms this: File
sparsematrix.jl
, functionBase.show
, has a hard-coded limit of<16
for the matrix size that is output; otherwise, only the non-zero pattern is output.It would be good if the code examined the current display width, as it already does in the preceding function
_show_with_braille_patterns
.The work-around I found is to call
Base.print_matrix
directly.