OKlibrary
0.2.1.6
|
Classes | |
struct | Normed_remainder |
class | Z_mod_n |
class | Zmodn |
struct | RSA |
Functions | |
template<typename Int > | |
Int | normed_remainder (const Int x, const Int n) |
template<unsigned long int modulus, typename Int > | |
Z_mod_n< modulus, Int > | operator+ (const Z_mod_n< modulus, Int > a, const Z_mod_n< modulus, Int > b) |
template<unsigned long int modulus, typename Int > | |
Z_mod_n< modulus, Int > | operator* (const Z_mod_n< modulus, Int > a, const Z_mod_n< modulus, Int > b) |
template<unsigned long int modulus, typename Int > | |
Z_mod_n< modulus, Int > | operator- (const Z_mod_n< modulus, Int > a, const Z_mod_n< modulus, Int > b) |
template<unsigned long int modulus, typename Int > | |
Z_mod_n< modulus, Int > | operator- (const Z_mod_n< modulus, Int > a) |
template<unsigned long int modulus, typename Int > | |
Z_mod_n< modulus, Int > | operator/ (const Z_mod_n< modulus, Int > a, const Z_mod_n< modulus, Int > b) |
template<unsigned long int modulus, typename Int > | |
bool | operator!= (const Z_mod_n< modulus, Int > a, const Z_mod_n< modulus, Int > b) |
template<typename Int > | |
Zmodn< Int > | operator+ (const Zmodn< Int > a, const Zmodn< Int > b) |
template<typename Int > | |
Zmodn< Int > | operator* (const Zmodn< Int > a, const Zmodn< Int > b) |
template<typename Int > | |
Zmodn< Int > | operator- (const Zmodn< Int > a, const Zmodn< Int > b) |
template<typename Int > | |
Zmodn< Int > | operator- (const Zmodn< Int > a) |
template<typename Int > | |
Zmodn< Int > | operator/ (const Zmodn< Int > a, const Zmodn< Int > b) |
template<typename Int > | |
bool | operator!= (const Zmodn< Int > a, const Zmodn< Int > b) |
Int Algebra::normed_remainder | ( | const Int | x, |
const Int | n | ||
) | [inline] |
Definition at line 52 of file Algebra_Models.hpp.
bool Algebra::operator!= | ( | const Z_mod_n< modulus, Int > | a, |
const Z_mod_n< modulus, Int > | b | ||
) | [inline] |
Definition at line 161 of file Algebra_Models.hpp.
bool Algebra::operator!= | ( | const Zmodn< Int > | a, |
const Zmodn< Int > | b | ||
) | [inline] |
Definition at line 293 of file Algebra_Models.hpp.
Z_mod_n<modulus, Int> Algebra::operator* | ( | const Z_mod_n< modulus, Int > | a, |
const Z_mod_n< modulus, Int > | b | ||
) | [inline] |
Definition at line 135 of file Algebra_Models.hpp.
Zmodn<Int> Algebra::operator* | ( | const Zmodn< Int > | a, |
const Zmodn< Int > | b | ||
) | [inline] |
Definition at line 267 of file Algebra_Models.hpp.
Z_mod_n<modulus, Int> Algebra::operator+ | ( | const Z_mod_n< modulus, Int > | a, |
const Z_mod_n< modulus, Int > | b | ||
) | [inline] |
Definition at line 129 of file Algebra_Models.hpp.
Zmodn<Int> Algebra::operator+ | ( | const Zmodn< Int > | a, |
const Zmodn< Int > | b | ||
) | [inline] |
Definition at line 261 of file Algebra_Models.hpp.
Z_mod_n<modulus, Int> Algebra::operator- | ( | const Z_mod_n< modulus, Int > | a, |
const Z_mod_n< modulus, Int > | b | ||
) | [inline] |
Definition at line 141 of file Algebra_Models.hpp.
Z_mod_n<modulus, Int> Algebra::operator- | ( | const Z_mod_n< modulus, Int > | a | ) | [inline] |
Definition at line 147 of file Algebra_Models.hpp.
Zmodn<Int> Algebra::operator- | ( | const Zmodn< Int > | a, |
const Zmodn< Int > | b | ||
) | [inline] |
Definition at line 273 of file Algebra_Models.hpp.
Definition at line 279 of file Algebra_Models.hpp.
Z_mod_n<modulus, Int> Algebra::operator/ | ( | const Z_mod_n< modulus, Int > | a, |
const Z_mod_n< modulus, Int > | b | ||
) | [inline] |
Definition at line 153 of file Algebra_Models.hpp.