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

#include <vector_field_push_span.hpp>

Public Types

using Vec = VectorField< Params >
 
using Field = typename Vec::Field
 

Public Member Functions

 VectorFieldPushSpan ()=default
 
 VectorFieldPushSpan (std::span< Vec > vector_fields_) noexcept
 
 VectorFieldPushSpan (const VectorFieldPushSpan &)=delete
 
VectorFieldPushSpanoperator= (const VectorFieldPushSpan &)=delete
 
 VectorFieldPushSpan (VectorFieldPushSpan &&) noexcept=default
 
VectorFieldPushSpanoperator= (VectorFieldPushSpan &&) noexcept=default
 
 ~VectorFieldPushSpan ()=default
 
void push (const Field &v) noexcept
 
Vecoperator[] (size_t g) noexcept
 
const Vecoperator[] (size_t g) const noexcept
 
size_t num_full_vectors () const noexcept
 
size_t tail () const noexcept
 
const Fieldtail_data () const noexcept
 
Fieldtail_elem (size_t t) noexcept
 
const Fieldtail_elem (size_t t) const noexcept
 
size_t size () const noexcept
 
size_t capacity () const noexcept
 
bool shares_backing (const VectorFieldPushSpan &other) const noexcept
 
bool aliases (const VectorFieldPushSpan &other) const noexcept
 
void reset () noexcept
 
void adopt_cursor (const VectorFieldPushSpan &src) noexcept
 

Public Attributes

std::span< Vecvector_fields {}
 
std::array< Field, Wpartial {}
 
size_t count = 0
 
size_t lane = 0
 

Static Public Attributes

static constexpr size_t W = Vec::SIZE
 

Detailed Description

template<typename Params>
struct bb::VectorFieldPushSpan< Params >

Definition at line 48 of file vector_field_push_span.hpp.

Member Typedef Documentation

◆ Field

template<typename Params >
using bb::VectorFieldPushSpan< Params >::Field = typename Vec::Field

Definition at line 50 of file vector_field_push_span.hpp.

◆ Vec

template<typename Params >
using bb::VectorFieldPushSpan< Params >::Vec = VectorField<Params>

Definition at line 49 of file vector_field_push_span.hpp.

Constructor & Destructor Documentation

◆ VectorFieldPushSpan() [1/4]

template<typename Params >
bb::VectorFieldPushSpan< Params >::VectorFieldPushSpan ( )
default

◆ VectorFieldPushSpan() [2/4]

template<typename Params >
bb::VectorFieldPushSpan< Params >::VectorFieldPushSpan ( std::span< Vec vector_fields_)
inlineexplicitnoexcept

Definition at line 59 of file vector_field_push_span.hpp.

◆ VectorFieldPushSpan() [3/4]

template<typename Params >
bb::VectorFieldPushSpan< Params >::VectorFieldPushSpan ( const VectorFieldPushSpan< Params > &  )
delete

◆ VectorFieldPushSpan() [4/4]

template<typename Params >
bb::VectorFieldPushSpan< Params >::VectorFieldPushSpan ( VectorFieldPushSpan< Params > &&  )
defaultnoexcept

◆ ~VectorFieldPushSpan()

template<typename Params >
bb::VectorFieldPushSpan< Params >::~VectorFieldPushSpan ( )
default

Member Function Documentation

◆ adopt_cursor()

template<typename Params >
void bb::VectorFieldPushSpan< Params >::adopt_cursor ( const VectorFieldPushSpan< Params > &  src)
inlinenoexcept

Definition at line 138 of file vector_field_push_span.hpp.

◆ aliases()

template<typename Params >
bool bb::VectorFieldPushSpan< Params >::aliases ( const VectorFieldPushSpan< Params > &  other) const
inlinenoexcept

Definition at line 120 of file vector_field_push_span.hpp.

◆ capacity()

template<typename Params >
size_t bb::VectorFieldPushSpan< Params >::capacity ( ) const
inlinenoexcept

Definition at line 105 of file vector_field_push_span.hpp.

◆ num_full_vectors()

template<typename Params >
size_t bb::VectorFieldPushSpan< Params >::num_full_vectors ( ) const
inlinenoexcept

Definition at line 99 of file vector_field_push_span.hpp.

◆ operator=() [1/2]

template<typename Params >
VectorFieldPushSpan & bb::VectorFieldPushSpan< Params >::operator= ( const VectorFieldPushSpan< Params > &  )
delete

◆ operator=() [2/2]

template<typename Params >
VectorFieldPushSpan & bb::VectorFieldPushSpan< Params >::operator= ( VectorFieldPushSpan< Params > &&  )
defaultnoexcept

◆ operator[]() [1/2]

template<typename Params >
const Vec & bb::VectorFieldPushSpan< Params >::operator[] ( size_t  g) const
inlinenoexcept

Definition at line 93 of file vector_field_push_span.hpp.

◆ operator[]() [2/2]

template<typename Params >
Vec & bb::VectorFieldPushSpan< Params >::operator[] ( size_t  g)
inlinenoexcept

Definition at line 88 of file vector_field_push_span.hpp.

◆ push()

template<typename Params >
void bb::VectorFieldPushSpan< Params >::push ( const Field v)
inlinenoexcept

Definition at line 75 of file vector_field_push_span.hpp.

◆ reset()

template<typename Params >
void bb::VectorFieldPushSpan< Params >::reset ( )
inlinenoexcept

Definition at line 129 of file vector_field_push_span.hpp.

◆ shares_backing()

template<typename Params >
bool bb::VectorFieldPushSpan< Params >::shares_backing ( const VectorFieldPushSpan< Params > &  other) const
inlinenoexcept

Definition at line 110 of file vector_field_push_span.hpp.

◆ size()

template<typename Params >
size_t bb::VectorFieldPushSpan< Params >::size ( ) const
inlinenoexcept

Definition at line 104 of file vector_field_push_span.hpp.

◆ tail()

template<typename Params >
size_t bb::VectorFieldPushSpan< Params >::tail ( ) const
inlinenoexcept

Definition at line 100 of file vector_field_push_span.hpp.

◆ tail_data()

template<typename Params >
const Field * bb::VectorFieldPushSpan< Params >::tail_data ( ) const
inlinenoexcept

Definition at line 101 of file vector_field_push_span.hpp.

◆ tail_elem() [1/2]

template<typename Params >
const Field & bb::VectorFieldPushSpan< Params >::tail_elem ( size_t  t) const
inlinenoexcept

Definition at line 103 of file vector_field_push_span.hpp.

◆ tail_elem() [2/2]

template<typename Params >
Field & bb::VectorFieldPushSpan< Params >::tail_elem ( size_t  t)
inlinenoexcept

Definition at line 102 of file vector_field_push_span.hpp.

Member Data Documentation

◆ count

template<typename Params >
size_t bb::VectorFieldPushSpan< Params >::count = 0

Definition at line 55 of file vector_field_push_span.hpp.

◆ lane

template<typename Params >
size_t bb::VectorFieldPushSpan< Params >::lane = 0

Definition at line 56 of file vector_field_push_span.hpp.

◆ partial

template<typename Params >
std::array<Field, W> bb::VectorFieldPushSpan< Params >::partial {}

Definition at line 54 of file vector_field_push_span.hpp.

◆ vector_fields

template<typename Params >
std::span<Vec> bb::VectorFieldPushSpan< Params >::vector_fields {}

Definition at line 53 of file vector_field_push_span.hpp.

◆ W

template<typename Params >
constexpr size_t bb::VectorFieldPushSpan< Params >::W = Vec::SIZE
staticconstexpr

Definition at line 51 of file vector_field_push_span.hpp.


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