Skip to main content

write_back_soa

Function write_back_soa 

Source
pub fn write_back_soa<A, S>(store: &S, ids: &[AgentId], columns: &[Vec<f32>])
where A: SoaExtractable, S: AgentStore<A>,
Expand description

Write SoA buffers back into an AgentStore.

ids and columns must have the same row count and match the order returned by extract_soa.