pub fn transpose_scalars<P, FE, PE>(
src: &[PE],
dst: &mut [P],
) -> Result<(), Error>where
P: PackedField,
FE: ExtensionField<P::Scalar>,
PE: PackedFieldIndexable<Scalar = FE> + RepackedExtension<P>,
Expand description
Transpose the scalars within a slice of packed extension field elements.
The src
buffer is vector of n
field extension field elements, or alternatively viewed as an
n x d matrix of base field elements, where d
is the extension degree. This transposes the
base field elements into a d x n matrix in row-major order.