Skip to main content

Module matrix

Module matrix 

Source
Expand description

Matrix operations over GF(2^16) for Reed-Solomon decoding.

PAR2 repair requires:

  1. Building a Vandermonde-like matrix from recovery block exponents
  2. Selecting rows corresponding to available (non-damaged) data + recovery blocks
  3. Inverting the submatrix via Gaussian elimination
  4. Multiplying the inverse by recovery data to recover original blocks

Structs§

GfMatrix
A matrix over GF(2^16), stored in row-major order.

Functions§

par2_input_constants
Compute the PAR2 input slice constants.