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

#include <elliptic_relation.hpp>

Public Types

using FF = FF_
 

Static Public Member Functions

template<typename AllEntities >
static bool skip (const AllEntities &in)
 Returns true if the contribution from all subrelations for the provided inputs is identically zero.
 
static constexpr FF get_curve_b ()
 
template<typename ContainerOverSubrelations , typename AllEntities , typename Parameters >
static void accumulate (ContainerOverSubrelations &accumulators, const AllEntities &in, const Parameters &, const FF &scaling_factor)
 Expression for the Ultra Arithmetic gate.
 

Static Public Attributes

static constexpr std::array< size_t, 2 > SUBRELATION_PARTIAL_LENGTHS
 

Detailed Description

template<typename FF_>
class bb::EllipticRelationImpl< FF_ >

Definition at line 14 of file elliptic_relation.hpp.

Member Typedef Documentation

◆ FF

template<typename FF_ >
using bb::EllipticRelationImpl< FF_ >::FF = FF_

Definition at line 16 of file elliptic_relation.hpp.

Member Function Documentation

◆ accumulate()

template<typename FF_ >
template<typename ContainerOverSubrelations , typename AllEntities , typename Parameters >
static void bb::EllipticRelationImpl< FF_ >::accumulate ( ContainerOverSubrelations &  accumulators,
const AllEntities &  in,
const Parameters &  ,
const FF scaling_factor 
)
inlinestatic

Expression for the Ultra Arithmetic gate.

The relation is defined as C(in(X)...) = TODO(#429): steal description from elliptic_widget.hpp

Parameters
evalstransformed to evals + C(in(X)...)*scaling_factor
inan std::array containing the fully extended Univariate edges.
parameterscontains beta, gamma, and public_input_delta, ....
scaling_factoroptional term to scale the evaluation before adding to evals.

Definition at line 52 of file elliptic_relation.hpp.

◆ get_curve_b()

template<typename FF_ >
static constexpr FF bb::EllipticRelationImpl< FF_ >::get_curve_b ( )
inlinestaticconstexpr

Definition at line 30 of file elliptic_relation.hpp.

◆ skip()

template<typename FF_ >
template<typename AllEntities >
static bool bb::EllipticRelationImpl< FF_ >::skip ( const AllEntities &  in)
inlinestatic

Returns true if the contribution from all subrelations for the provided inputs is identically zero.

Definition at line 27 of file elliptic_relation.hpp.

Member Data Documentation

◆ SUBRELATION_PARTIAL_LENGTHS

template<typename FF_ >
constexpr std::array<size_t, 2> bb::EllipticRelationImpl< FF_ >::SUBRELATION_PARTIAL_LENGTHS
staticconstexpr
Initial value:
{
6,
6,
}

Definition at line 18 of file elliptic_relation.hpp.


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