Skip to main content

Module algebra

Module algebra 

Source
Expand description

Set algebra backing RowSelection::and_then, RowSelection::intersection and RowSelection::union

Each operation has two implementations, picked by the backing of its operands: a merge of the RowSelector runs, and a bitwise variant over [BooleanBuffer] masks.

FunctionsΒ§

and_then_iter πŸ”’
and_then_mask πŸ”’
Applies other to the selected rows of mask, preserving the original row domain.
and_then_mask_from_selectors πŸ”’
and_then_masks πŸ”’
and_then_row_selections πŸ”’
Applies second to the rows selected by first, both selector-backed.
and_then_selectors_with_mask πŸ”’
Applies the mask second to the rows selected by the selector-backed first.
intersect_masks πŸ”’
Bitwise AND of two mask-backed selections. Longer side’s tail passes through.
intersect_row_selections πŸ”’
Combine two lists of RowSelection return the intersection of them For example: self: NNYYYYNNYYNYN other: NYNNNNNNY
union_masks πŸ”’
Bitwise OR of two mask-backed selections. Longer side’s tail passes through.
union_row_selections πŸ”’
Combine two lists of RowSelector return the union of them For example: self: NNYYYYNNYYNYN other: NYNNNNNNY