Modular< IntType, _Compute_t, Enable > Class Template Reference

Forward declaration for Givaro::Modular. More...

`#include <modular-inttype.h>`

Inheritance diagram for Modular< IntType, _Compute_t, Enable >:
[legend]
Collaboration diagram for Modular< IntType, _Compute_t, Enable >:
[legend]

## Detailed Description

template<typename IntType, typename _Compute_t, typename Enable>
class Givaro::Modular< IntType, _Compute_t, Enable >

Forward declaration for Givaro::Modular.

This class implement the standard arithmetic with Modulo Elements.

Elements will be stored in the storage type. While arithmetics will occur on the unsigned version of COMP type. Example: Modular<int32_t, uint64_t>

- The representation of an integer a in Zpz is the value a % p

Examples
  examples/FiniteField/all_field.C, examples/FiniteField/exponentiation.C, examples/FiniteField/ff_arith.C, examples/FiniteField/kronecker.C, examples/FiniteField/zpz_atomic.C, examples/Integer/ModularSquareRoot.C, examples/Integer/iexponentiation.C, examples/Polynomial/PolynomialCRT.C, and examples/Polynomial/interpolate.C.

The documentation for this class was generated from the following files:

- modular-general.h
- modular-inttype.h
- modular-floating.inl
- modular-integral.inl
- modular-inttype.inl
- modular-ruint.inl