Modules§
- serde_
ark - Workaround for
ark_fffailure to implement Serde, and Rust’s failure to allow us to implement it. - serde_
ark_ option - serde_
ark_ vec - serde_
hex - Serde workaround to encode
Vec<u8>as base64 strings in human-readable formats. - serde_
jsonify - Serde workaround to encode types as JSON strings in non-human-readable formats.
- sumcheck
Structs§
Constants§
- HALF
- 1/2 for the BN254
Functions§
- batch_
inverse_ montgomery - Computes multiplicative inverses using Montgomery’s batch inversion trick.
- human
- Pretty print a float using SI-prefixes.
- next_
power_ of_ two - Calculates the degree of the next smallest power of two
- noir_
to_ native - Convert a Noir field element to a native
FieldElement - pad_
to_ power_ of_ two - Pads the vector with 0 so that the number of elements in the vector is a power of 2
- uint_
to_ field - workload_
size - Target single-thread workload size for
T. Should ideally be a multiple of a cache line (64 bytes) and close to the L1 cache size (32 KB).