[−][src]Function isa_l::gf_gen_cauchy1_matrix
#[must_use]pub fn gf_gen_cauchy1_matrix(k: usize, m: usize) -> Vec<u8>
Generate a Cauchy matrix of coefficients to be used for encoding.
Cauchy matrix example of encoding coefficients where high portion of matrix
is identity matrix I
and lower portion is constructed as 1/(i + j) | i != j, i:{0,k-1} j:{k,m-1}
. Any sub-matrix of a Cauchy matrix should be invertable.
Arguments:
m
: number of rows in matrix corresponding to srcs + parity.k
: number of columns in matrix corresponding to srcs.