Osztályok | |
| class | Mod |
Függvények | |
| int | gcdx (int a, int b, int &x, int &y) |
| Legnagyobb közös osztó kiszámolása és előállítása. | |
| ostream & | operator<< (ostream &os, const Mod &M) |
| Mod osztály kiírása a képernyőre. | |
| bool | operator== (int x, const Mod &M) |
| bool | operator!= (int x, const Mod &M) |
| Mod | operator+ (int x, const Mod &M) |
| Mod | operator- (int x, const Mod &M) |
| Mod | operator* (int x, const Mod &M) |
| Mod | operator/ (int x, const Mod &M) |
Változók | |
| const int | INITIAL_DEFAULT_MODULUS = 2 |
| a default modulus kezdeti értéke | |
| const int | NORMAL_PRINT_MODE = 1 |
| const int | SHORT_PRINT_MODE = 2 |
| const int | INITIAL_PRINT_MODE = NORMAL_PRINT_MODE |
| a print mode kezdeti értéke | |
| int bme::gcdx | ( | int | a, |
| int | b, | ||
| int & | x, | ||
| int & | y ) |
| ostream & bme::operator<< | ( | ostream & | os, |
| const Mod & | M ) |
| const int bme::INITIAL_DEFAULT_MODULUS = 2 |
| const int bme::INITIAL_PRINT_MODE = NORMAL_PRINT_MODE |