Блог пользователя manjunath1996

Автор manjunath1996, история, 7 лет назад, По-английски

I have a doubt about how devide polynomial in NTT.Specifically in this problem link :https://www.codechef.com/JULY16/problems/POLYEVAL/ In editorial and many solution,they are deviding polynomial into 3 polynomials as A(x^3)+xA(x^3)+x^2A(x^3). I didn't understand why it is needed to devide the polynomial into 3 polynomial first and then apply NTT. Can we take whole polynomial into single array and do it's NTT.Please Clarify my doubt.

  • Проголосовать: нравится
  • +21
  • Проголосовать: не нравится

»
7 лет назад, # |
  Проголосовать: нравится +86 Проголосовать: не нравится

Only LiTi understood FFT and NTT. Ask him.

»
7 лет назад, # |
Rev. 2   Проголосовать: нравится +53 Проголосовать: не нравится

LiTi Can you please explain it??

»
7 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

mod = 3*2^18+1 . its convenient to divide it into three portions so that size of each portion is a power of 2 . you can even initially form three polynomials each of size 2^18 and perform NTT on all three of them so that they finally produce values for 3*2^18 distinct points.

»
7 лет назад, # |
  Проголосовать: нравится +46 Проголосовать: не нравится

So maybe on his birthday, LiTi will be willing to explain NTT? Happy birthday, LiTi :)

PS: We are waiting for you :D