Revision a5e032e29686fabc8b88a10726c79feb18900055 authored by Alexander Seiler on 22 May 2020, 16:45:51 UTC, committed by GitHub on 22 May 2020, 16:45:51 UTC
* Display sparse matrices by showing their structure with braille patterns

* Adopt test which involves showing of sparse matrix

* Adopt docstrings

* Call `rowvals(S)` only once

* Extend code documentation

* Simplify calculation of `scaleHeight` and `scaleWidth`

* Make `brailleBlocks` a `const`

* Initialize `brailleGrid` with `UInt16(10240)`

* Let the compiler do the conversion of `\n`

* Improve printing to `io`

* Unwrap the helper functions directly into the loop

* Show small sparse matrix in traditional manner

* Add tests for `isstored`

* Adapt tests for `show`

* Adapt doctests

* Use `m` and `n` instead of `size` calls

* Initialize `scaleHeight` and `scaleWidth` in `else` clause

* Reenable commented test

* Declare type of `maxHeight` and `maxWidth`

* Do not print leading newline in `_show_with_braille_patterns`

* Reenable test for issue 30589

* Shorten type declarations of `maxHeight` and `maxWidth`

* Add `isstored` to Base

* Add `isstored` for sparse vectors

* Make use of Base function `isstored`

* Add `boundscheck` macro

* Clarify news

* Call `issorted` by `Base.issored`

* Use `Base.isstored` in tests

* Set cutoff value to print sparse matrices with braille to 16

Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu>
1 parent 97a6258
History
File Mode Size
.devcontainer
base
contrib
deps
doc
etc
src
stdlib
test
ui
.appveyor.yml -rw-r--r-- 2.1 KB
.clang-format -rw-r--r-- 3.3 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 273 bytes
.mailmap -rw-r--r-- 11.0 KB
.travis.yml -rw-r--r-- 6.1 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 19.9 KB
HISTORY.md -rw-r--r-- 292.0 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 44.1 KB
Makefile -rw-r--r-- 26.5 KB
NEWS.md -rw-r--r-- 1.9 KB
README.md -rw-r--r-- 6.5 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.9 KB

README.md

back to top