Function SymEngine::factor_pollard_pm1_method

Function Documentation

int SymEngine::factor_pollard_pm1_method(const Ptr<RCP<const Integer>> &f, const Integer &n, unsigned B = 10, unsigned retries = 5)

Factor using Pollard’s p-1 method.