Function SymEngine::nthroot_mod

Function Documentation

bool SymEngine::nthroot_mod(const Ptr<RCP<const Integer>> &root, const RCP<const Integer> &a, const RCP<const Integer> &n, const RCP<const Integer> &m)

A solution to x**n == a mod m. Return false if none exists.