Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
barycentric.hpp File Reference
#include "barretenberg/ecc/fields/field.hpp"
#include <array>

Go to the source code of this file.

Classes

class  bb::BarycentricDataCompileTime< Fr, domain_end, num_evals, domain_start >
 
class  bb::BarycentricDataRunTime< Fr, domain_end, num_evals, domain_start >
 
struct  bb::is_field_type< T >
 Helper to determine whether input is bberg::field type. More...
 
struct  bb::is_field_type< bb::field< Params > >
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 

Typedefs

template<class Fr , size_t domain_end, size_t num_evals, size_t domain_start = 0>
using bb::BarycentricData = std::conditional_t< is_field_type_v< Fr >, BarycentricDataCompileTime< Fr, domain_end, num_evals, domain_start >, BarycentricDataRunTime< Fr, domain_end, num_evals, domain_start > >
 Exposes BarycentricData with compile time arrays if the type is bberg::field and runtime arrays otherwise.
 

Variables

template<typename T >
constexpr bool bb::is_field_type_v = is_field_type<T>::value