Interface FieldElement<T>

    • Method Detail

      • negate

        T negate()
        Returns the additive inverse of this element.
        Returns:
        the opposite of this.
      • multiply

        T multiply​(int n)
        Compute n × this. Multiplication by an integer number is defined as the following sum
        n × this = ∑i=1n this.
        Parameters:
        n - Number of times this must be added to itself.
        Returns:
        A new element representing n × this.
      • getField

        Field<T> getField()
        Get the Field to which the instance belongs.
        Returns:
        Field to which the instance belongs