Module packed_extension

Source

Traits§

PackedDivisible
Trait represents a relationship between a packed struct of field elements and a smaller packed struct the same field elements.
PackedExtension
Trait represents a relationship between a packed struct of field elements and a packed struct of elements from an extension field.
PackedExtensionIndexable
This trait adds shortcut methods for the case PackedExtension<F, PackedSubfield: PackedFieldIndexable> which is a quite common case in our codebase.
PackedFieldIndexable
A PackedField that can be safely cast to indexable slices of scalars.
RepackedExtension
This trait is a shorthand for the case PackedExtension<P::Scalar, PackedSubfield = P> which is a quite common case in our codebase.

Functions§

recast_packed
Recast a packed field from one subfield of a packed extension to another.
recast_packed_mut
Recast a mutable slice of packed field elements from one subfield of a packed extension to another.
recast_packed_slice
Recast a slice of packed field elements from one subfield of a packed extension to another.

Type Aliases§

PackedSubfield
Convenient type alias that returns the packed field type for the scalar field F and packed extension P.