Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::PolynomialSpan< Fr > Struct Template Reference

#include <polynomial.hpp>

Public Member Functions

 PolynomialSpan (size_t start_index, std::span< Fr > span)
 
size_t end_index () const
 
Frdata ()
 
size_t size () const
 
Froperator[] (size_t index)
 
const Froperator[] (size_t index) const
 
PolynomialSpan subspan (size_t offset, size_t length)
 
 operator PolynomialSpan< const Fr > () const
 

Public Attributes

size_t start_index
 
std::span< Frspan
 

Detailed Description

template<typename Fr>
struct bb::PolynomialSpan< Fr >

Definition at line 26 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ PolynomialSpan()

template<typename Fr >
bb::PolynomialSpan< Fr >::PolynomialSpan ( size_t  start_index,
std::span< Fr span 
)
inline

Definition at line 29 of file polynomial.hpp.

Member Function Documentation

◆ data()

template<typename Fr >
Fr * bb::PolynomialSpan< Fr >::data ( )
inline

Definition at line 34 of file polynomial.hpp.

◆ end_index()

template<typename Fr >
size_t bb::PolynomialSpan< Fr >::end_index ( ) const
inline

Definition at line 33 of file polynomial.hpp.

◆ operator PolynomialSpan< const Fr >()

template<typename Fr >
bb::PolynomialSpan< Fr >::operator PolynomialSpan< const Fr > ( ) const
inline

Definition at line 56 of file polynomial.hpp.

◆ operator[]() [1/2]

template<typename Fr >
Fr & bb::PolynomialSpan< Fr >::operator[] ( size_t  index)
inline

Definition at line 36 of file polynomial.hpp.

◆ operator[]() [2/2]

template<typename Fr >
const Fr & bb::PolynomialSpan< Fr >::operator[] ( size_t  index) const
inline

Definition at line 42 of file polynomial.hpp.

◆ size()

template<typename Fr >
size_t bb::PolynomialSpan< Fr >::size ( ) const
inline

Definition at line 35 of file polynomial.hpp.

◆ subspan()

template<typename Fr >
PolynomialSpan bb::PolynomialSpan< Fr >::subspan ( size_t  offset,
size_t  length 
)
inline

Definition at line 48 of file polynomial.hpp.

Member Data Documentation

◆ span

template<typename Fr >
std::span<Fr> bb::PolynomialSpan< Fr >::span

Definition at line 28 of file polynomial.hpp.

◆ start_index

template<typename Fr >
size_t bb::PolynomialSpan< Fr >::start_index

Definition at line 27 of file polynomial.hpp.


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