density property

double get density

Fraction of parity-check matrix entries that are set.

Implementation

double get density => edgeCount / (length * parityBits);