Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 562 Bytes

File metadata and controls

19 lines (11 loc) · 562 Bytes

Home > @josh-brown/vector > ArrayMatrix > getSparseData

ArrayMatrix.getSparseData() method

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