Class FloatNTTConvolutionStepStrategy

java.lang.Object
org.apfloat.internal.FloatElementaryModMath
org.apfloat.internal.FloatModMath
org.apfloat.internal.FloatNTTConvolutionStepStrategy
All Implemented Interfaces:
Parallelizable, NTTConvolutionStepStrategy

public class FloatNTTConvolutionStepStrategy extends FloatModMath implements NTTConvolutionStepStrategy, Parallelizable
Steps of a three-NTT convolution for the float 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