How to filter (compress) an array¶
Use a boolean mask with compress (/) to select elements:
The comparison V>3 produces the boolean vector 0 0 1 0 1 1 0 1. Compress keeps elements where the mask is 1.
Combine conditions¶
Remove specific values¶
See also: Scalar functions and scalar extension