Movatterモバイル変換


[0]ホーム

URL:


Next:, Previous:, Up:Algorithms   [Index]


15.1 Multiplication

NxN limb multiplications and squares are done using one of sevenalgorithms, as the size N increases.

AlgorithmThreshold
Basecase(none)
KaratsubaMUL_TOOM22_THRESHOLD
Toom-3MUL_TOOM33_THRESHOLD
Toom-4MUL_TOOM44_THRESHOLD
Toom-6.5MUL_TOOM6H_THRESHOLD
Toom-8.5MUL_TOOM8H_THRESHOLD
FFTMUL_FFT_THRESHOLD

Similarly for squaring, with theSQR thresholds.

NxM multiplications of operands with different sizes aboveMUL_TOOM22_THRESHOLD are currently done by special Toom-inspiredalgorithms or directly with FFT, depending on operand size (seeUnbalanced Multiplication).


[8]ページ先頭

©2009-2025 Movatter.jp