Class ThreeNTTConvolutionStrategy

java.lang.Object
org.apfloat.internal.ThreeNTTConvolutionStrategy
All Implemented Interfaces:
ConvolutionStrategy
Direct Known Subclasses:
ParallelThreeNTTConvolutionStrategy

public class ThreeNTTConvolutionStrategy extends Object implements ConvolutionStrategy
Convolution using three Number Theoretic Transforms and the Chinese Remainder Theorem to get the final result.

Multiplication can be done in linear time in the transform domain, where the multiplication is simply an element-by-element multiplication.

All access to this class must be externally synchronized.

Since:
1.7.0
Version:
1.7.0
Author:
Mikko Tommila