Understanding Schönhage-Strassen algorithm (huge integer multiplication)

后端 未结 3 644
自闭症患者
自闭症患者 2021-02-08 13:56

I need to multiply several 1000s digits long integers as efficiently as possible in Python. The numbers are read from a file.

I am trying to implement the Schönhage-Stra

3条回答
  •  余生分开走
    2021-02-08 14:15

    Chapter 4.3.3 of Knuth's TAOCP describes it and also has some FFT pseudocode in other chapters that could be used for this.

提交回复
热议问题