pub fn accumulate_forces_batch(
forces: &mut Vec3Batch,
directions: &Vec3Batch,
magnitudes: &[f64],
) -> Result<(), SimdMathError>Expand description
Accumulate forces onto a mutable force batch.
For each index i, computes:
forces[i] += directions[i] * magnitudes[i]ยงErrors
Returns SimdMathError::SizeMismatch if the sizes of forces, directions,
or magnitudes do not match.