Class FloatNTTBuilder

java.lang.Object
org.apfloat.internal.AbstractNTTBuilder
org.apfloat.internal.FloatNTTBuilder
All Implemented Interfaces:
NTTBuilder

public class FloatNTTBuilder extends AbstractNTTBuilder
Creates Number Theoretic Transforms for the float type.
Version:
1.8.3
Author:
Mikko Tommila
See Also:
  • Constructor Details

    • FloatNTTBuilder

      public FloatNTTBuilder()
      Default constructor.
  • Method Details

    • createNTTSteps

      public NTTStepStrategy 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

      public NTTConvolutionStepStrategy 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

      public Factor3NTTStepStrategy 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

      protected NTTStrategy createSimpleFNTStrategy(long size)
      Description copied from class: AbstractNTTBuilder
      Create a simple NTT strategy.
      Specified by:
      createSimpleFNTStrategy in class AbstractNTTBuilder
      Parameters:
      size - The transform length that will be used.
      Returns:
      A new simple NTT strategy.