UNPACK(VECTOR,MASK,FIELD) -- unpack a vector into an array under a mask. FIELD, must conform to MASK and and must be of same type and kind as VECTOR. The result is the same shape as MASK.
If
and
then
For more information, click here