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
public class IntNTTBuilder extends AbstractNTTBuilder
Creates Number Theoretic Transforms for theinttype.- Version:
- 1.8.3
- See Also:
IntTableFNTStrategy,SixStepFNTStrategy,TwoPassFNTStrategy,Factor3NTTStrategy
-
-
Constructor Summary
Constructors Constructor Description IntNTTBuilder()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Factor3NTTStepStrategycreateFactor3NTTSteps()Creates an object for implementing the steps of factor-3 NTT.NTTConvolutionStepStrategycreateNTTConvolutionSteps()Creates an object for implementing the steps of a three-NTT based convolution.NTTStepStrategycreateNTTSteps()Creates an object for implementing the steps of a step-based Number Theoretic Transform.protected NTTStrategycreateSimpleFNTStrategy(long size)Create a simple NTT strategy.-
Methods inherited from class org.apfloat.internal.AbstractNTTBuilder
createFactor3NTTStrategy, createNTT, createSixStepFNTStrategy, createTwoPassFNTStrategy
-
-
-
-
Method Detail
-
createNTTSteps
public NTTStepStrategy createNTTSteps()
Description copied from interface:NTTBuilderCreates an object for implementing the steps of a step-based Number Theoretic Transform.- Returns:
- A suitable object for performing the transform steps.
-
createNTTConvolutionSteps
public NTTConvolutionStepStrategy createNTTConvolutionSteps()
Description copied from interface:NTTBuilderCreates an object for implementing the steps of a three-NTT based convolution.- Returns:
- A suitable object for performing the convolution steps.
-
createFactor3NTTSteps
public Factor3NTTStepStrategy createFactor3NTTSteps()
Description copied from interface:NTTBuilderCreates an object for implementing the steps of factor-3 NTT.- Returns:
- A suitable object for performing the factor-3 NTT steps.
-
createSimpleFNTStrategy
protected NTTStrategy createSimpleFNTStrategy(long size)
Description copied from class:AbstractNTTBuilderCreate a simple NTT strategy.- Specified by:
createSimpleFNTStrategyin classAbstractNTTBuilder- Parameters:
size- The transform length that will be used.- Returns:
- A new simple NTT strategy.
-
-