hacspec_lib::prelude

Function sub_poly

Source
pub fn sub_poly<T: Numeric + Copy>(a: &Seq<T>, b: &Seq<T>, modulo: T) -> Seq<T>
Expand description

polynomial subtraction, calculates a - b mod modulo