You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
380 B

// cl_notify_composite().
// General includes.
#include "cl_sysdep.h"
// Specification.
#include "cl_MI.h"
// Implementation.
#include "cln/io.h"
#include "cln/abort.h"
namespace cln {
cl_composite_condition* cl_notify_composite (const cl_modint_ring& R, const cl_I& nonunit)
{
return new cl_composite_condition(R->modulus,gcd(R->modulus,nonunit));
}
} // namespace cln