Some libraries use another common convention where the encoding matrix is built from the vandermonde matrix from a vector of sequential integers (0, 1, 2, 3, ...). The objective of this patch is to allow zfec to generate and consume data using this convention.
Allow users to pick an encoding matrix that is compatible with the klauspost/reedsolomon library.
The zfec library uses a vector of alpha^i to create its encoding matrix from the vandermonde matrix. From the original paper: https://www.cs.utexas.edu/users/lam/395t/papers/FEC-rizzo.pdf
Some libraries use another common convention where the encoding matrix is built from the vandermonde matrix from a vector of sequential integers (0, 1, 2, 3, ...). The objective of this patch is to allow zfec to generate and consume data using this convention.