Fourier Division Algorithm Explained

  • Context: Graduate 
  • Thread starter Thread starter expert_vision
  • Start date Start date
  • Tags Tags
    Division Fourier
Click For Summary
SUMMARY

The Fourier Division Algorithm involves calculating the quotient and remainder of two numbers, x and y, using three distinct methods. The methods include integer division for positive x, an adjustment for positive remainders, and a correction for negative x values. Specifically, when the b term is negative, the remainder must be adjusted to ensure positivity, impacting the subsequent calculations. Understanding these methods is crucial for accurately implementing the Fourier Division Algorithm.

PREREQUISITES
  • Understanding of integer division and modulus operations
  • Familiarity with the concept of quotients and remainders
  • Basic knowledge of algorithm design principles
  • Experience with mathematical notation and operations
NEXT STEPS
  • Research the mathematical foundations of the Fourier Division Algorithm
  • Explore integer division and modulus in programming languages like Python or C++
  • Study the implications of negative numbers in division algorithms
  • Examine practical applications of the Fourier Division Algorithm in computational mathematics
USEFUL FOR

Mathematicians, computer scientists, and software developers interested in algorithm design and numerical methods will benefit from this discussion.

expert_vision
Messages
6
Reaction score
0
There is an article on wikipedia (http://en.wikipedia.org/wiki/Fourier_division" ) about Fourier division algorithm, but there is something that confuses me.
When they compute the so called "b terms" they have to divide 2 numbers. Let's call them x and y, and x/y=q+r. To compute q and r they use 3 methods:

1. q=x/y (integer division) and r=x%y
2. q=x/y+1 and r=x%y-b (when x is positive)
3. q=x/y-1 and r=b+x%y (when x is negative)Does anyone know more about Fourier division or where can I find some details about it?

Thx
 
Last edited by a moderator:
Mathematics news on Phys.org
I think I got it. I don't know why but when a b term gets negative the remainder has to be made positive using 3th method. Then the next remainder has to be made negative using 2th method if x is positive or 1th method if x is negative.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K