Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
polynomial_stats.hpp File Reference
#include "barretenberg/common/log.hpp"
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <iomanip>
#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 

Functions

template<typename Fr >
size_t bb::min_bytes_for_value (const Fr &val)
 Compute the minimum number of bytes needed to represent a field element's value.
 
template<typename ProverPolynomials >
void bb::analyze_prover_polynomials (ProverPolynomials &polynomials)
 Analyze prover polynomials and print per-polynomial statistics about value sizes.