Home > @josh-brown/vector > ArrayMatrix > getSparseData
Returns the contents of the matrix as a nested map of rowIndex to columnIndex to nonzero value
Signature:
getSparseData(): Map<number, Map<number, S>>;Returns:
Map<number, Map<number, S>>
The contents of the matrix