Introduction - If you have any usage issues, please Google them yourself
LDPC_code source
Create R = 1/2 low density parity check matrix
M : Number of row
N : Number of column
method : Method for distributing non-zero element
{0} Evencol : For each column, place 1s uniformly at random
{1} Evenboth: For each column and row, place 1s uniformly at random
noCyle : Length-4 cycle
{0} Ignore (do nothing)
{1} Eliminate
onePerCol: Number of ones per column
H : Low density parity check matrix