openvm_stark_backend::utils

Function batch_multiplicative_inverse_allowing_zero

Source
pub fn batch_multiplicative_inverse_allowing_zero<F: Field>(
    values: Vec<F>,
) -> Vec<F>
Expand description

Calculates and returns the multiplicative inverses of each field element, with zero values remaining unchanged.