|
carl
25.04
Computer ARithmetic Library
|
A finite field. More...
#include <GaloisField.h>

Public Types | |
| using | BaseIntType = unsigned |
Public Member Functions | |
| GaloisField (BaseIntType p, BaseIntType k=1) | |
| Creating the field Z_{p^k}. More... | |
| BaseIntType | p () const noexcept |
| Returns the p from Z_{p^k}. More... | |
| BaseIntType | k () const noexcept |
| Returns the k from Z_{p^k}. More... | |
| const IntegerType & | size () const noexcept |
| IntegerType | modulo (const IntegerType &n) const |
| IntegerType | symmetric_modulo (const IntegerType &n) const |
Private Attributes | |
| const BaseIntType | mP |
| const BaseIntType | mK |
| const IntegerType | mPK |
| const IntegerType | mMaxValue |
| const IntegerType | mModulus |
Friends | |
| bool | operator== (const GaloisField &lhs, const GaloisField &rhs) |
| std::ostream & | operator<< (std::ostream &os, const GaloisField &rhs) |
A finite field.
Definition at line 32 of file GaloisField.h.
| using carl::GaloisField< IntegerType >::BaseIntType = unsigned |
Definition at line 34 of file GaloisField.h.
|
inlineexplicit |
Creating the field Z_{p^k}.
| p | A prime number |
| k | A exponent |
Definition at line 49 of file GaloisField.h.
|
inlinenoexcept |
Returns the k from Z_{p^k}.
Definition at line 69 of file GaloisField.h.

|
inline |
|
inlinenoexcept |
Returns the p from Z_{p^k}.
Definition at line 61 of file GaloisField.h.

|
inlinenoexcept |
Definition at line 73 of file GaloisField.h.
|
inline |
Definition at line 81 of file GaloisField.h.


|
friend |
Definition at line 93 of file GaloisField.h.
|
friend |
Definition at line 89 of file GaloisField.h.
|
private |
Definition at line 37 of file GaloisField.h.
|
private |
Definition at line 39 of file GaloisField.h.
|
private |
Definition at line 40 of file GaloisField.h.
|
private |
Definition at line 36 of file GaloisField.h.
|
private |
Definition at line 38 of file GaloisField.h.