pub fn weight<T: Integer + Copy>(poly: &Seq<T>) -> usize
Expand description

Returns number of coefficient != 0, e.g. for -3x⁵ + 3x² + 2x + 1 -> 4