Module utils

Module utils 

Source
Expand description

Utility functions

Functionsยง

batch_multiplicative_inverse_allowing_zero
Calculates and returns the multiplicative inverses of each field element, with zero values remaining unchanged.
disable_debug_builder
Disables the debug builder so there are not debug assert panics. Commonly used in negative tests to prevent panics.
parallelize_chunks
This utility function will parallelize an operation that is to be performed over a mutable slice.