Package org.apfloat.internal
Class IntNTTBuilder
java.lang.Object
org.apfloat.internal.AbstractNTTBuilder
org.apfloat.internal.IntNTTBuilder
- All Implemented Interfaces:
NTTBuilder
- Direct Known Subclasses:
IntAparapiNTTBuilder
Creates Number Theoretic Transforms for the
int
type.- Version:
- 1.8.3
- Author:
- Mikko Tommila
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates an object for implementing the steps of factor-3 NTT.Creates an object for implementing the steps of a three-NTT based convolution.Creates an object for implementing the steps of a step-based Number Theoretic Transform.protected NTTStrategy
createSimpleFNTStrategy
(long size) Create a simple NTT strategy.Methods inherited from class org.apfloat.internal.AbstractNTTBuilder
createFactor3NTTStrategy, createNTT, createSixStepFNTStrategy, createTwoPassFNTStrategy
-
Constructor Details
-
IntNTTBuilder
public IntNTTBuilder()Default constructor.
-
-
Method Details
-
createNTTSteps
Description copied from interface:NTTBuilder
Creates an object for implementing the steps of a step-based Number Theoretic Transform.- Returns:
- A suitable object for performing the transform steps.
-
createNTTConvolutionSteps
Description copied from interface:NTTBuilder
Creates an object for implementing the steps of a three-NTT based convolution.- Returns:
- A suitable object for performing the convolution steps.
-
createFactor3NTTSteps
Description copied from interface:NTTBuilder
Creates an object for implementing the steps of factor-3 NTT.- Returns:
- A suitable object for performing the factor-3 NTT steps.
-
createSimpleFNTStrategy
Description copied from class:AbstractNTTBuilder
Create a simple NTT strategy.- Specified by:
createSimpleFNTStrategy
in classAbstractNTTBuilder
- Parameters:
size
- The transform length that will be used.- Returns:
- A new simple NTT strategy.
-