|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <vector_field.hpp>
Public Types | |
| using | Field = field< Params > |
| using | scalar_type = Field |
| using | View = VectorField |
| using | CoefficientAccumulator = VectorField |
Static Public Member Functions | |
| static VectorField | zero () noexcept |
| static VectorField | one () noexcept |
| static VectorField | gather (const Field *base, std::array< size_t, 5 > idx, size_t offset=0) noexcept |
| template<typename Fn > | |
| static VectorField | from_lanes (const Fn &value_at) noexcept |
| static VectorField | load_contiguous (const Field *base) noexcept |
| static VectorField | broadcast (const Field &s) noexcept |
Public Attributes | |
| Field | elts [5] |
Static Public Attributes | |
| static constexpr size_t | SIZE = 5 |
| static constexpr auto | modulus = Field::modulus |
| static constexpr std::array< uint64_t, 9 > | P_WASM |
| static constexpr std::array< uint64_t, 9 > | TWOP_WASM = compute_twice_modulus_wasm<Params>() |
| static constexpr std::array< uint64_t, 9 > | TNM_WASM = compute_tnm_wasm<Params>() |
| static constexpr uint64_t | R_INV_MOD_2_29 = Params::r_inv & 0x1fffffffULL |
| static constexpr std::array< uint64_t, 9 > | R_INV_WASM |
Private Member Functions | |
| void | store_from_array (const std::array< Field, 5 > &in) noexcept |
| void | load_to_array (std::array< Field, 5 > &out) const noexcept |
Friends | |
| VectorField | operator+ (VectorField v, const Field &s) noexcept |
| VectorField | operator+ (const Field &s, VectorField v) noexcept |
| VectorField | operator- (VectorField v, const Field &s) noexcept |
| VectorField | operator- (const Field &s, VectorField v) noexcept |
| VectorField | operator* (VectorField v, const Field &s) noexcept |
| VectorField | operator* (const Field &s, VectorField v) noexcept |
Definition at line 132 of file vector_field.hpp.
| using bb::VectorField< Params >::CoefficientAccumulator = VectorField |
Definition at line 138 of file vector_field.hpp.
Definition at line 133 of file vector_field.hpp.
Definition at line 134 of file vector_field.hpp.
| using bb::VectorField< Params >::View = VectorField |
Definition at line 137 of file vector_field.hpp.
|
constexprdefaultnoexcept |
|
inlineexplicitnoexcept |
Definition at line 182 of file vector_field.hpp.
Definition at line 188 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 189 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 190 of file vector_field.hpp.
|
inlineexplicitnoexcept |
Definition at line 1322 of file vector_field.hpp.
|
inlinestaticnoexcept |
Definition at line 1346 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 381 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 1385 of file vector_field.hpp.
|
inlinestaticnoexcept |
Definition at line 299 of file vector_field.hpp.
|
inlinestaticnoexcept |
Definition at line 287 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 242 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 229 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 200 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 382 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 1396 of file vector_field.hpp.
|
inlinestaticnoexcept |
Definition at line 1329 of file vector_field.hpp.
|
inlineprivatenoexcept |
Definition at line 1315 of file vector_field.hpp.
|
inlinestaticnoexcept |
Definition at line 193 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 1376 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 273 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 1356 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 263 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 197 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 1366 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 268 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 309 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 196 of file vector_field.hpp.
Definition at line 247 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 195 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 1334 of file vector_field.hpp.
|
inlineprivatenoexcept |
Definition at line 1308 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 1341 of file vector_field.hpp.
|
inlinenoexcept |
Definition at line 222 of file vector_field.hpp.
|
inlinestaticnoexcept |
Definition at line 192 of file vector_field.hpp.
|
friend |
Definition at line 368 of file vector_field.hpp.
|
friend |
Definition at line 364 of file vector_field.hpp.
|
friend |
Definition at line 352 of file vector_field.hpp.
|
friend |
Definition at line 348 of file vector_field.hpp.
|
friend |
Definition at line 360 of file vector_field.hpp.
|
friend |
Definition at line 356 of file vector_field.hpp.
| Field bb::VectorField< Params >::elts[5] |
Definition at line 174 of file vector_field.hpp.
|
staticconstexpr |
Definition at line 140 of file vector_field.hpp.
|
staticconstexpr |
Definition at line 150 of file vector_field.hpp.
|
staticconstexpr |
Definition at line 158 of file vector_field.hpp.
|
staticconstexpr |
Definition at line 159 of file vector_field.hpp.
Definition at line 139 of file vector_field.hpp.
|
staticconstexpr |
Definition at line 156 of file vector_field.hpp.
|
staticconstexpr |
Definition at line 155 of file vector_field.hpp.