Template Function ADS::zeroPolynomial

Function Documentation

template<class F, class R>
bool ADS::zeroPolynomial(F &&p, std::size_t n, long d, int K, R &rng)

whether p, of n variables and total degree d, is identically 0, by K random points

Pre:

K >= 0