Fourier Division Algorithm Explained

  • Thread starter Thread starter expert_vision
  • Start date Start date
  • Tags Tags
    Division Fourier
AI Thread Summary
The discussion revolves around the Fourier division algorithm and its computation of "b terms." It highlights the confusion around calculating quotient (q) and remainder (r) using three different methods based on the sign of x. The first method uses standard integer division, while the second and third methods adjust the calculations when x is positive or negative, respectively. The user clarifies that when a b term is negative, the remainder must be adjusted to be positive, leading to further adjustments in subsequent calculations. Overall, the thread seeks deeper understanding and clarification of the Fourier division algorithm's nuances.
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.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top