Main Page   Reference Manual   Compound List   File List  

libecc/fieldmath.h File Reference

Number theory functions. More...

#include <gmpxx.h>
#include <libecc/bitset.h>

Include dependency graph for fieldmath.h:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  libecc


Detailed Description

Number theory functions.

This header file declares template functions for arbitrary fields. The field must have defined the following methods:

field_type& field_type::operator+=(field_type const&); field_type& field_type::operator-=(field_type const&); field_type& field_type::operator*=(field_type const&); field_type& field_type::operator/=(field_type const&); static field_type const& field_type::unity(void) const; // Returns the multiplicative unity.
Copyright © 2002-2004 Carlo Wood.  All rights reserved.