Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::EvaluationDomain< FF > Class Template Reference

#include <evaluation_domain.hpp>

Public Member Functions

 EvaluationDomain ()
 
 EvaluationDomain (const size_t domain_size, const size_t target_generator_size=0)
 
 EvaluationDomain (const EvaluationDomain &other)
 
 EvaluationDomain (EvaluationDomain &&other)
 
EvaluationDomainoperator= (const EvaluationDomain &)=delete
 
EvaluationDomainoperator= (EvaluationDomain &&)
 
 ~EvaluationDomain ()
 
void compute_lookup_table ()
 
void compute_generator_table (const size_t target_generator_size)
 
const std::vector< FF * > & get_round_roots () const
 
const std::vector< FF * > & get_inverse_round_roots () const
 

Public Attributes

size_t size
 
size_t num_threads
 
size_t thread_size
 
size_t log2_size
 
size_t log2_thread_size
 
size_t log2_num_threads
 
size_t generator_size
 
FF root
 
FF root_inverse
 
FF domain
 
FF domain_inverse
 
FF generator
 
FF generator_inverse
 
FF four_inverse
 

Private Attributes

std::vector< FF * > round_roots
 
std::vector< FF * > inverse_round_roots
 
std::shared_ptr< FF[]> roots
 

Detailed Description

template<typename FF>
class bb::EvaluationDomain< FF >

Definition at line 14 of file evaluation_domain.hpp.

Constructor & Destructor Documentation

◆ EvaluationDomain() [1/4]

template<typename FF >
bb::EvaluationDomain< FF >::EvaluationDomain ( )
inline

Definition at line 16 of file evaluation_domain.hpp.

◆ EvaluationDomain() [2/4]

template<typename Fr >
bb::EvaluationDomain< Fr >::EvaluationDomain ( const size_t  domain_size,
const size_t  target_generator_size = 0 
)

Definition at line 59 of file evaluation_domain.cpp.

◆ EvaluationDomain() [3/4]

template<typename Fr >
bb::EvaluationDomain< Fr >::EvaluationDomain ( const EvaluationDomain< FF > &  other)

Definition at line 89 of file evaluation_domain.cpp.

◆ EvaluationDomain() [4/4]

template<typename Fr >
bb::EvaluationDomain< Fr >::EvaluationDomain ( EvaluationDomain< FF > &&  other)

Definition at line 126 of file evaluation_domain.cpp.

◆ ~EvaluationDomain()

template<typename Fr >
bb::EvaluationDomain< Fr >::~EvaluationDomain ( )

Definition at line 174 of file evaluation_domain.cpp.

Member Function Documentation

◆ compute_generator_table()

template<typename FF >
void bb::EvaluationDomain< FF >::compute_generator_table ( const size_t  target_generator_size)

◆ compute_lookup_table()

template<typename Fr >
void bb::EvaluationDomain< Fr >::compute_lookup_table ( )

Definition at line 176 of file evaluation_domain.cpp.

◆ get_inverse_round_roots()

template<typename FF >
const std::vector< FF * > & bb::EvaluationDomain< FF >::get_inverse_round_roots ( ) const
inline

Definition at line 46 of file evaluation_domain.hpp.

◆ get_round_roots()

template<typename FF >
const std::vector< FF * > & bb::EvaluationDomain< FF >::get_round_roots ( ) const
inline

Definition at line 45 of file evaluation_domain.hpp.

◆ operator=() [1/2]

template<typename FF >
EvaluationDomain & bb::EvaluationDomain< FF >::operator= ( const EvaluationDomain< FF > &  )
delete

◆ operator=() [2/2]

template<typename Fr >
EvaluationDomain< Fr > & bb::EvaluationDomain< Fr >::operator= ( EvaluationDomain< FF > &&  other)

Definition at line 148 of file evaluation_domain.cpp.

Member Data Documentation

◆ domain

template<typename FF >
FF bb::EvaluationDomain< FF >::domain

Definition at line 58 of file evaluation_domain.hpp.

◆ domain_inverse

template<typename FF >
FF bb::EvaluationDomain< FF >::domain_inverse

Definition at line 59 of file evaluation_domain.hpp.

◆ four_inverse

template<typename FF >
FF bb::EvaluationDomain< FF >::four_inverse

Definition at line 62 of file evaluation_domain.hpp.

◆ generator

template<typename FF >
FF bb::EvaluationDomain< FF >::generator

Definition at line 60 of file evaluation_domain.hpp.

◆ generator_inverse

template<typename FF >
FF bb::EvaluationDomain< FF >::generator_inverse

Definition at line 61 of file evaluation_domain.hpp.

◆ generator_size

template<typename FF >
size_t bb::EvaluationDomain< FF >::generator_size

Definition at line 54 of file evaluation_domain.hpp.

◆ inverse_round_roots

template<typename FF >
std::vector<FF*> bb::EvaluationDomain< FF >::inverse_round_roots
private

Definition at line 70 of file evaluation_domain.hpp.

◆ log2_num_threads

template<typename FF >
size_t bb::EvaluationDomain< FF >::log2_num_threads

Definition at line 53 of file evaluation_domain.hpp.

◆ log2_size

template<typename FF >
size_t bb::EvaluationDomain< FF >::log2_size

Definition at line 51 of file evaluation_domain.hpp.

◆ log2_thread_size

template<typename FF >
size_t bb::EvaluationDomain< FF >::log2_thread_size

Definition at line 52 of file evaluation_domain.hpp.

◆ num_threads

template<typename FF >
size_t bb::EvaluationDomain< FF >::num_threads

Definition at line 49 of file evaluation_domain.hpp.

◆ root

template<typename FF >
FF bb::EvaluationDomain< FF >::root

Definition at line 56 of file evaluation_domain.hpp.

◆ root_inverse

template<typename FF >
FF bb::EvaluationDomain< FF >::root_inverse

Definition at line 57 of file evaluation_domain.hpp.

◆ roots

template<typename FF >
std::shared_ptr<FF[]> bb::EvaluationDomain< FF >::roots
private

Definition at line 72 of file evaluation_domain.hpp.

◆ round_roots

template<typename FF >
std::vector<FF*> bb::EvaluationDomain< FF >::round_roots
private

Definition at line 65 of file evaluation_domain.hpp.

◆ size

template<typename FF >
size_t bb::EvaluationDomain< FF >::size

Definition at line 48 of file evaluation_domain.hpp.

◆ thread_size

template<typename FF >
size_t bb::EvaluationDomain< FF >::thread_size

Definition at line 50 of file evaluation_domain.hpp.


The documentation for this class was generated from the following files: