RingElem
edu.jas.structure

Interface RingElem<C extends RingElem<C>>

    • Method Detail

      • gcd

        C gcd(C b)
        Greatest common divisor.
        Parameters:
        b - other element.
        Returns:
        gcd(this,b).
      • egcd

        C[] egcd(C b)
        Extended greatest common divisor.
        Parameters:
        b - other element.
        Returns:
        [ gcd(this,b), c1, c2 ] with c1*this + c2*b = gcd(this,b).

SCaVis 2.1 © jWork.ORG