Efficient Algorithm for Calculating f(x)modg(x) with Large Degrees

  • Context: Graduate 
  • Thread starter Thread starter smslca
  • Start date Start date
Click For Summary
SUMMARY

The most efficient algorithm for calculating f(x) mod g(x) when the degrees of f(x) and g(x) are significantly large, specifically when the degree of f(x) is much greater than that of g(x), is the use of the Fast Fourier Transform (FFT) method. This approach leverages the properties of polynomial multiplication and division to optimize the computation. Implementations in libraries such as NumPy (version 1.21 or higher) can facilitate this process, providing significant performance improvements over traditional long division methods.

PREREQUISITES
  • Understanding of polynomial arithmetic
  • Familiarity with Fast Fourier Transform (FFT)
  • Basic knowledge of Python programming
  • Experience with NumPy library (version 1.21 or higher)
NEXT STEPS
  • Research the implementation of FFT in NumPy for polynomial operations
  • Explore alternative algorithms for polynomial division, such as Berlekamp's algorithm
  • Study the mathematical foundations of polynomial interpolation
  • Learn about the complexity analysis of polynomial division algorithms
USEFUL FOR

Mathematicians, computer scientists, and software developers working on algorithms for polynomial computations, particularly those dealing with large degree polynomials.

smslca
Messages
63
Reaction score
0
I like to know

what is best known efficient algorithm to calculate f(x)modg(x) , in which the degrees of f(x) and g(x) are very very very large , and degree of f(x) >> degree of g(x).
 
Last edited:
Physics news on Phys.org


f and g are polynomials with integer coefficients? You know how to divide one polynomial into another, right?
 

Similar threads

  • · Replies 26 ·
Replies
26
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K