Package org.bouncycastle.pqc.math.ntru.polynomial

## Class Resultant

- java.lang.Object
- - org.bouncycastle.pqc.math.ntru.polynomial.Resultant

- Direct Known Subclasses:
    `ModularResultant`

      public class Resultant
      extends java.lang.Object

  Contains a resultant and a polynomial `rho` such that `res = rho*this + t*(x^n-1) for some integer t`.
  See Also:
    `IntegerPolynomial.resultant()`, `IntegerPolynomial.resultant(int)`

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `java.math.BigInteger` | `res` | Resultant of a polynomial with `x^n-1`
    `BigIntPolynomial` | `rho` | A polynomial such that `res = rho*this + t*(x^n-1) for some integer t`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### rho

          public BigIntPolynomial rho

      A polynomial such that `res = rho*this + t*(x^n-1) for some integer t`

    - #### res

          public java.math.BigInteger res

      Resultant of a polynomial with `x^n-1`