#include <modular.h>
Inheritance diagram for ModularBase:

Public Types | |
| typedef _Element | Element |
Public Methods | |
ModularBase | |
| ModularBase (void) | |
| ModularBase (unsigned long modulus) | |
| ModularBase (const integer &modulus) | |
| ModularBase (const ModularBase< Element > &F) | |
| integer & | convert (integer &x, const Element &y) const |
| double & | convert (double &x, const Element &y) const |
| Element & | assign (Element &x, const Element &y) const |
| integer & | cardinality (integer &c) const |
| integer & | characteristic (integer &c) const |
| Object Management bool | areEqual (const Element &x, const Element &y) const |
| bool | isZero (const Element &x) const |
| bool | isOne (const Element &x) const |
| Arithmetic Operations std::ostream & | write (std::ostream &os) const |
| std::istream & | read (std::istream &is) |
| std::ostream & | write (std::ostream &os, const Element &x) const |
| std::istream & | read (std::istream &is, Element &x) const |
Protected Attributes | |
| Element | _modulus |
| Private (non-static) element for modulus. | |
|
|
Reimplemented in Modular, Modular< uint8 >, Modular< uint16 >, Modular< uint32 >, and Modular< Element >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Private (non-static) element for modulus.
|
1.2.18