pub fn axpy_multi(coeffs: &[u8], sources: &[&[u8]], y: &mut [u8])Expand description
Multi-source fused AXPY with improved cache behaviour:
for each chunk of the destination, apply y ^= c_i * source_i for all i.
coeffs.len() == sources.len(), every sources[i].len() == y.len(), and
every source’s full memory range must be completely disjoint from y.
Sources may overlap each other because they are read-only.
§Panics
- Panics if
coeffs.len() != sources.len(). - Panics if any source length differs from
y.len(); the message identifies the source index. - Panics if any source memory range overlaps
y(including full alias); the message identifies the source index. This rule applies even when that source’s coefficient is zero.