Structure representing coefficients in a set of finite fields simultaneously using the chinese remainder theorem. More...
#include <Multi_field.h>
Public Member Functions | |
const Element & | additive_identity () const |
Returns the additive idendity ![]() | |
const Element & | multiplicative_identity () const |
Returns the multiplicative identity ![]() | |
Element | times (const Element &y, const Element &w) |
const Element & | characteristic () const |
Returns the characteristic ![]() | |
std::pair< Element, Element > | inverse (Element x, Element QS) |
Element | times_minus (const Element &x, const Element &y) |
Element | plus_times_equal (const Element &x, const Element &y, const Element &w) |
![]() | |
CoefficientField () | |
Element | characteristic () |
Element | multiplicative_identity () |
Element | additive_identity () |
void | plus_equal (Element x, Element y) |
Additional Inherited Members | |
![]() | |
typedef unspecified | Element |
Type of element of the field. More... | |
Structure representing coefficients in a set of finite fields simultaneously using the chinese remainder theorem.
Details on the algorithms may be found in [3]
|
inline |
Returns the inverse in the field. Modifies P. ???
|
inline |
Set x <- x + w * y
|
inline |
Returns y * w
|
inline |
Returns -x * y.