pub fn ba_gates_slot(n: u32, vheads_per_group: u32) -> Result<u32, u32>Expand description
Where n lands in the [gate(nv), beta(nv)] output row: Ok(vh) for a
gate (alpha) element, Err(vh) for a beta element — the parent’s
within_group < vheads_per_group split, which the twin copies verbatim.