Expand description
Traits for packed field elements which support SIMD implementations.
Interfaces are derived from plonky2
.
Traits§
- Packed
Binary Field - A helper trait to make the generic bunds shorter
- Packed
Field - A packed field represents a vector of underlying field elements.
Functions§
- get_
packed_ slice - get_
packed_ slice_ checked - get_
packed_ ⚠slice_ unchecked - Returns the scalar at the given index without bounds checking.
- iter_
packed_ slice_ with_ offset - Iterate over scalar values in a packed field slice.
- len_
packed_ slice - mul_
by_ subfield_ scalar - Multiply packed field element by a subfield scalar.
- pack_
slice - packed_
from_ fn_ with_ offset - Construct a packed field element from a function that returns scalar values by index with the
given offset in packed elements. E.g. if
offset
is 2, andWIDTH
is 4,f(9)
will be used to set the scalar at index 1 in the packed element. - set_
packed_ slice - set_
packed_ slice_ checked - set_
packed_ ⚠slice_ unchecked - Sets the scalar at the given index without bounds checking.