#include <capd/rings/Zp.h>
|
Zp | operator- (const Zp &v) |
|
Zp | operator+ (const Zp &v1, const Zp &v2) |
|
Zp | operator- (const Zp &v1, const Zp &v2) |
|
Zp | operator* (const Zp &v1, const Zp &v2) |
|
Zp | operator/ (const Zp &v1, const Zp &v2) |
|
bool | operator< (const Zp &v1, const Zp &v2) |
|
bool | operator> (const Zp &v1, const Zp &v2) |
|
bool | operator<= (const Zp &v1, const Zp &v2) |
|
bool | operator>= (const Zp &v1, const Zp &v2) |
|
bool | operator== (const Zp &v1, const Zp &v2) |
|
bool | operator!= (const Zp &v1, const Zp &v2) |
|
std::ostream & | operator<< (std::ostream &out, const Zp &v) |
|
std::istream & | operator>> (std::istream &inp, Zp &v) |
|
bool | isDivisible (Zp a, Zp b) |
|
bool | isInvertible (Zp a) |
|
Zp | inverse (Zp a) |
|
std::string | fieldStringForm (Zp) |
|
bool | isZero (const Zp &a) |
|
◆ Zp()
◆ getMod()
static int Zp::getMod |
( |
| ) |
|
|
inlinestatic |
◆ operator int()
Zp::operator int |
( |
| ) |
const |
|
inline |
◆ operator*=()
Zp& Zp::operator*= |
( |
const Zp & |
v | ) |
|
|
inline |
◆ operator++() [1/2]
◆ operator++() [2/2]
Zp Zp::operator++ |
( |
int |
| ) |
|
|
inline |
◆ operator+=()
Zp& Zp::operator+= |
( |
const Zp & |
v | ) |
|
|
inline |
◆ operator--() [1/2]
◆ operator--() [2/2]
Zp Zp::operator-- |
( |
int |
| ) |
|
|
inline |
◆ operator-=()
Zp& Zp::operator-= |
( |
const Zp & |
v | ) |
|
|
inline |
◆ operator/=()
Zp& Zp::operator/= |
( |
const Zp & |
v | ) |
|
|
inline |
◆ setMod()
static void Zp::setMod |
( |
int |
a_p | ) |
|
|
inlinestatic |
◆ fieldStringForm
std::string fieldStringForm |
( |
Zp |
| ) |
|
|
friend |
◆ inverse
◆ isDivisible
bool isDivisible |
( |
Zp |
a, |
|
|
Zp |
b |
|
) |
| |
|
friend |
◆ isInvertible
bool isInvertible |
( |
Zp |
a | ) |
|
|
friend |
◆ isZero
bool isZero |
( |
const Zp & |
a | ) |
|
|
friend |
◆ operator!=
bool operator!= |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator*
Zp operator* |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator+
Zp operator+ |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator- [1/2]
Zp operator- |
( |
const Zp & |
v | ) |
|
|
friend |
◆ operator- [2/2]
Zp operator- |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator/
Zp operator/ |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator<
bool operator< |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Zp & |
v |
|
) |
| |
|
friend |
◆ operator<=
bool operator<= |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator==
bool operator== |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator>
bool operator> |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator>=
bool operator>= |
( |
const Zp & |
v1, |
|
|
const Zp & |
v2 |
|
) |
| |
|
friend |
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
inp, |
|
|
Zp & |
v |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: