Skip to main content

blend

Function blend 

Source
fn blend<U: BlendLane, const K: usize>(
    from_array: &BooleanBuffer,
    array: &ArrayData,
    scalar: &ArrayData,
) -> Option<Buffer>
Expand description

The values of array where from_array is set and the scalar’s value elsewhere. Each value is read as K integers U, so a 16 or 32 byte value is 2 or 4 lanes of i64 under one mask. None if either values buffer is not aligned to U.