My Project  debian-1:4.1.1-p2+ds-4build3
Public Member Functions
FFRandom Class Reference

generate random elements in F_p More...

#include <cf_random.h>

Public Member Functions

 FFRandom ()
 
 ~FFRandom ()
 
CanonicalForm generate () const
 
CFRandomclone () const
 
 FFRandom ()
 
 ~FFRandom ()
 
CanonicalForm generate () const
 
CFRandomclone () const
 
 FFRandom ()
 
 ~FFRandom ()
 
CanonicalForm generate () const
 
CFRandomclone () const
 
- Public Member Functions inherited from CFRandom
virtual ~CFRandom ()
 
virtual ~CFRandom ()
 
virtual ~CFRandom ()
 

Detailed Description

generate random elements in F_p

Definition at line 43 of file cf_random.h.

Constructor & Destructor Documentation

◆ FFRandom() [1/3]

FFRandom::FFRandom ( )
inline

Definition at line 46 of file cf_random.h.

46 {}

◆ ~FFRandom() [1/3]

FFRandom::~FFRandom ( )
inline

Definition at line 47 of file cf_random.h.

47 {}

◆ FFRandom() [2/3]

FFRandom::FFRandom ( )
inline

Definition at line 851 of file factory.h.

851 {}

◆ ~FFRandom() [2/3]

FFRandom::~FFRandom ( )
inline

Definition at line 852 of file factory.h.

852 {}

◆ FFRandom() [3/3]

FFRandom::FFRandom ( )
inline

Definition at line 851 of file factory.h.

851 {}

◆ ~FFRandom() [3/3]

FFRandom::~FFRandom ( )
inline

Definition at line 852 of file factory.h.

852 {}

Member Function Documentation

◆ clone() [1/3]

CFRandom * FFRandom::clone ( ) const
virtual

Reimplemented from CFRandom.

Definition at line 61 of file cf_random.cc.

62 {
63  return new FFRandom();
64 }

◆ clone() [2/3]

CFRandom* FFRandom::clone ( ) const
virtual

Reimplemented from CFRandom.

◆ clone() [3/3]

CFRandom* FFRandom::clone ( ) const
virtual

Reimplemented from CFRandom.

◆ generate() [1/3]

CanonicalForm FFRandom::generate ( ) const
virtual

Reimplemented from CFRandom.

Definition at line 56 of file cf_random.cc.

57 {
59 }

◆ generate() [2/3]

CanonicalForm FFRandom::generate ( ) const
virtual

Reimplemented from CFRandom.

◆ generate() [3/3]

CanonicalForm FFRandom::generate ( ) const
virtual

Reimplemented from CFRandom.


The documentation for this class was generated from the following files:
CanonicalForm
factory's main class
Definition: canonicalform.h:83
factoryrandom
int factoryrandom(int n)
random integers with abs less than n
Definition: cf_random.cc:168
int2imm_p
InternalCF * int2imm_p(long i)
Definition: imm.h:101
FFRandom::FFRandom
FFRandom()
Definition: cf_random.h:46
ff_prime
int ff_prime
Definition: ffops.cc:14