Skip to main content

subfield_encode_batch

Function subfield_encode_batch 

Source
pub fn subfield_encode_batch<S, F>(
    message: RowMajorMatrix<S>,
    log_inv_rate: usize,
) -> RowMajorMatrix<F>
Expand description

Reed–Solomon encode a subfield message over the additive NTT domain.

The message holds the low-index novel-basis coefficients of each column. The codeword is their evaluation on the subspace log_inv_rate dimensions above.

Zero lies in the subfield, so the padding that extends the domain is paid narrow too.

§Panics

Panics under the same conditions as the plain transform. Panics if the codeword length overflows the address space.