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

#include <broadcast.hpp>

Public Types

using Vec = VectorField< typename Fr::Params >
 

Public Member Functions

 Broadcast (const Fr &s)
 
const Froperator[] (ScalarIndex) const
 
template<size_t N>
const Vecoperator[] (ContiguousVectorIndex< N >) const
 

Public Attributes

Fr scalar
 
Vec vector
 

Detailed Description

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

Definition at line 27 of file broadcast.hpp.

Member Typedef Documentation

◆ Vec

template<typename Fr >
using bb::Broadcast< Fr >::Vec = VectorField<typename Fr::Params>

Definition at line 28 of file broadcast.hpp.

Constructor & Destructor Documentation

◆ Broadcast()

template<typename Fr >
bb::Broadcast< Fr >::Broadcast ( const Fr s)
inlineexplicit

Definition at line 33 of file broadcast.hpp.

Member Function Documentation

◆ operator[]() [1/2]

template<typename Fr >
template<size_t N>
const Vec & bb::Broadcast< Fr >::operator[] ( ContiguousVectorIndex< N ) const
inline

Definition at line 40 of file broadcast.hpp.

◆ operator[]() [2/2]

template<typename Fr >
const Fr & bb::Broadcast< Fr >::operator[] ( ScalarIndex  ) const
inline

Definition at line 38 of file broadcast.hpp.

Member Data Documentation

◆ scalar

template<typename Fr >
Fr bb::Broadcast< Fr >::scalar

Definition at line 30 of file broadcast.hpp.

◆ vector

template<typename Fr >
Vec bb::Broadcast< Fr >::vector

Definition at line 31 of file broadcast.hpp.


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