Internally, only positive prime numbers are used. Thus np should be able to accept this value as an input. If no function pointer is given, the prime generator will be reset to the default routine, which returns the next prime less than q . Only the corresponding member functions are enabled. The reference counter of M will therefore be modified.
Initialization Let a be of type crt .
Basic Functions Arithmetical Operations Compute Residues Let a be of type crt . They do not modify any information stored in a . To compute the residues, the remainder functions of class bigint are used. You may not combine a result modulo a specific prime twice. Furthermore, you may not use objects of different size in subsequent calls to the function.