Interface AbelianGroupElem<C extends AbelianGroupElem<C>>

    • Method Detail

      • isZERO

        boolean isZERO()
        Test if this is zero.
        Returns:
        true if this is 0, else false.
      • signum

        int signum()
        Signum.
        Returns:
        the sign of this.
      • sum

        C sum​(C S)
        Sum of this and S.
        Parameters:
        S -
        Returns:
        this + S.
      • subtract

        C subtract​(C S)
        Subtract S from this.
        Parameters:
        S -
        Returns:
        this - S.
      • negate

        C negate()
        Negate this.
        Returns:
        - this.
      • abs

        C abs()
        Absolute value of this.
        Returns:
        |this|.