Functions§
- calculate_
eq - Calculates eq(r, alpha)
- calculate_
evaluations_ over_ boolean_ hypercube_ for_ eq - List of evaluations for eq(r, x) over the boolean hypercube, truncated to
num_entrieselements. Whennum_entries < 2^r.len(), avoids allocating the full hypercube. - calculate_
external_ row_ of_ r1cs_ matrices - Calculates a random row of R1CS matrix extension. Made possible due to sparseness.
- calculate_
witness_ bounds - Given a path to JSON file with sparce matrices and a witness, calculates matrix-vector multiplication and returns them
- eval_
cubic_ poly - Evaluates a cubic polynomial on a value
- multiply_
transposed_ by_ eq_ alpha - Multiply pre-transposed R1CS matrices by eq(alpha, ·) to compute the external row.
- sumcheck_
fold_ map_ reduce - Compute the sum of a vector valued function over the boolean hypercube in the leading variable.
- transpose_
r1cs_ matrices - Transpose all three R1CS matrices in parallel.