Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 518 Bytes

File metadata and controls

19 lines (11 loc) · 518 Bytes

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

FloatVector.getSparseData() method

Returns the contents of the vector as a map of indices to nonzero values

Signature:

getSparseData(): Map<number, number>;

Returns:

Map<number, number>

The contents of the vector