* generate random integers **/
| 53 | * generate random integers |
| 54 | **/ |
| 55 | class IntRandom : public CFRandom |
| 56 | { |
| 57 | private: |
| 58 | int max; |
| 59 | public: |
| 60 | IntRandom(); |
| 61 | IntRandom( int m ); |
| 62 | ~IntRandom(); |
| 63 | CanonicalForm generate() const; |
| 64 | CFRandom * clone() const; |
| 65 | }; |
| 66 | |
| 67 | /** |
| 68 | * generate random elements in F_p(alpha) |
no outgoing calls
no test coverage detected