Type alias ExtendedEuclid

ExtendedEuclid: {
    coefA: number;
    coefB: number;
    gcd: number;
    quotientA: number;
    quotientB: number;
}

Result of the extended Euclidean algorithm.

Type declaration

  • coefA: number

    Bézout coefficient of the first parameter.

  • coefB: number

    Bézout coefficient of the second parameter.

  • gcd: number

    Greatest common divisor of the parameters.

  • quotientA: number

    Quotient of the first parameter when divided by the gcd

  • quotientB: number

    Quotient of the second parameter when divided by the gcd