local-reconstruction-code-gen
This crate provides a function that generates encode matrices for Local Reconstruction Codes as described in the paper Erasure Coding in Windows Azure Storage by Huang et al.
The implementation only supports values of r of size up to (including) 2.
Example
This example shows how to create an encode matrix for a (6,2,2) Local Reconstruction Code. You must specify an
an implementation of the GaloisField trait as a type argument. Both the trait and macros to generate types
are found in the g2p crate.
use gen_encode_matrix;
g2p!;