binius_field

Module packed_extension

Source

Traits§

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

Functions§

  • Recast a packed field from one subfield of a packed extension to another.
  • Recast a mutable slice of packed field elements from one subfield of a packed extension to another.
  • Recast a slice of packed field elements from one subfield of a packed extension to another.

Type Aliases§

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