Function prio::finite_field::merge_vector[][src]

pub fn merge_vector(
    accumulator: &mut [Field],
    other_vector: &[Field]
) -> Result<(), FiniteFieldError>

Merge two vectors of fields by summing other_vector into accumulator.

Errors

Fails if the two vectors do not have the same length.