Skip to main content

cast_base

Function cast_base 

Source
pub fn cast_base<FSub, P>(ext: P) -> PackedSubfield<P, FSub>
where FSub: BinaryField, P: PackedField<Scalar: ExtensionField<FSub>> + UnderlierView, PackedSubfield<P, FSub>: PackedField<Scalar = FSub>,
Expand description

Reads a packed extension field element as a packed subfield element.