Skip to main content

cast_ext

Function cast_ext 

Source
pub fn cast_ext<FSub, P>(base: PackedSubfield<P, FSub>) -> P
where FSub: BinaryField, P: PackedField<Scalar: ExtensionField<FSub>> + WithUnderlier, PackedSubfield<P, FSub>: PackedField<Scalar = FSub>,
Expand description

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