Skip to main content

build_sparse_assignment_selectors

Function build_sparse_assignment_selectors 

Source
pub async fn build_sparse_assignment_selectors(
    dims: usize,
    colon_mask: u32,
    end_mask: u32,
    numeric: &[Value],
    base_shape: &[usize],
) -> VmResult<Vec<SliceSelector>>
Expand description

Builds selectors for sparse two-subscript assignment. Numeric selectors may grow their addressed dimension; colon and logical selectors remain tied to the existing shape, matching MATLAB indexed-assignment rules.