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>> + WithUnderlier, PackedSubfield<P, FSub>: PackedField<Scalar = FSub>,
Expand description

Reinterpret a packed extension field element as the corresponding packed subfield element.