sparse-array.extract
Extracting interesting data from sparse arrays.
extract
(extract array function)
Return a sparse subset of this array
- which may be either sparse or dense - comprising all those cells for which this function
returns a ‘truthy’ value.
extract-from-dense
(extract-from-dense array function)
(extract-from-dense array function axes)
Return a subset of this dense array
comprising all those cells for which this function
returns a ‘truthy’ value. Use these axes
if provided.