Skip to main content

maximum_length_polynomial

Function maximum_length_polynomial 

Source
pub fn maximum_length_polynomial(degree: u32) -> Option<u64>
Expand description

Returns a minimal-weight primitive polynomial of the given degree (2..=32): a trinomial where one exists, otherwise a pentanomial or heptanomial, taking the numerically smallest.