Class IntNTTConvolutionStepStrategy

java.lang.Object
org.apfloat.internal.IntElementaryModMath
org.apfloat.internal.IntModMath
org.apfloat.internal.IntNTTConvolutionStepStrategy
All Implemented Interfaces:
Parallelizable, NTTConvolutionStepStrategy

public class IntNTTConvolutionStepStrategy extends IntModMath implements NTTConvolutionStepStrategy, Parallelizable
Steps of a three-NTT convolution for the int type. This class implements the details of the element-by-element multiplication and element-by-element squaring of the transformed elements.

The in-place multiplication and squaring of the data elements is done using a parallel algorithm, if the data fits in memory.

All access to this class must be externally synchronized.

Since:
1.7.0
Version:
1.9.0
Author:
Mikko Tommila