Home > @josh-brown/vector > FloatVector > getSparseData
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
Home > @josh-brown/vector > FloatVector > getSparseData
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