Givaro
Public Types | Public Member Functions
ModularRandIter< Modular< Integer > > Class Reference

#include <modular-integer.h>

Public Types

typedef Modular< IntegerRing
 
typedef Integer Element
 
typedef Integer Residu_t
 

Public Member Functions

 ModularRandIter (const Ring &R, const size_t &seed=0, const Integer size=0)
 
Elementoperator() (Element &elt)
 
Elementrandom (Element &elt)
 
Element operator() ()
 
Element random ()
 
const Ringring () const
 

Member Typedef Documentation

◆ Ring

typedef Modular<Integer> Ring

◆ Element

typedef Integer Element

◆ Residu_t

typedef Integer Residu_t

Constructor & Destructor Documentation

◆ ModularRandIter()

ModularRandIter ( const Ring R,
const size_t &  seed = 0,
const Integer  size = 0 
)
inline

Member Function Documentation

◆ operator()() [1/2]

Element& operator() ( Element elt)
inline

◆ random() [1/2]

Element& random ( Element elt)
inline

◆ operator()() [2/2]

Element operator() ( )
inline

◆ random() [2/2]

Element random ( )
inline

◆ ring()

const Ring& ring ( ) const
inline

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