Exemplo n.º 1
0
        public Polynomial Div(Polynomial firstArg, Polynomial secondArg)
        {
            Polynomial gcd;
            var        invert = PolynomialMath.Inverse(secondArg, _mod, _char, out gcd);

            return(Mul(firstArg, invert));
        }
Exemplo n.º 2
0
        public Polynomial Inverse(Polynomial poly)
        {
            Polynomial gcd;

            return(PolynomialMath.Inverse(poly, _mod, _char, out gcd));
        }