Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cz.vutbr.feec.utko.fojtoval.krypto.funkce
Class Euclides

    java.lang.Object
      cz.vutbr.feec.utko.fojtoval.krypto.funkce.Statistika
          cz.vutbr.feec.utko.fojtoval.krypto.funkce.Euclides

    public class Euclides

extends Statistika

Vypocty pomoci Euklidova algoritmu.

Constructor Summary
`Euclides()`

Method Summary
`static int` | `euc(int x, int y)` Vypocet multiplikativni inverze cisla x v mnozine y.
`static int` | `gcd(int param1, int param2)` Nejvetsi spolecny delitel cisel x (parametr1) a y (parametr2).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Euclides

    public Euclides()

Method Detail

### gcd

    public static int gcd(int param1,
                          int param2)

  Nejvetsi spolecny delitel cisel x (parametr1) a y (parametr2).

  Parameters:
    `param1` -
    `param2` -
  Returns:
    vysledek

### euc

    public static int euc(int x,
                          int y)

  Vypocet multiplikativni inverze cisla x v mnozine y.

  Parameters:
    `x` -
    `y` -
  Returns:
    vysledek

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD