Interface NTTBuilder

    • Method Detail

      • createNTT

        NTTStrategy createNTT​(long size)
        Creates a Number Theoretic Transform of suitable type for the specified length.
        Parameters:
        size - The transform length that will be used.
        Returns:
        A suitable NTT object for performing the transform.
      • createNTTSteps

        NTTStepStrategy createNTTSteps()
        Creates an object for implementing the steps of a step-based Number Theoretic Transform.
        Returns:
        A suitable object for performing the transform steps.
        Since:
        1.7.0
      • createNTTConvolutionSteps

        NTTConvolutionStepStrategy createNTTConvolutionSteps()
        Creates an object for implementing the steps of a three-NTT based convolution.
        Returns:
        A suitable object for performing the convolution steps.
        Since:
        1.7.0
      • createFactor3NTTSteps

        Factor3NTTStepStrategy createFactor3NTTSteps()
        Creates an object for implementing the steps of factor-3 NTT.
        Returns:
        A suitable object for performing the factor-3 NTT steps.
        Since:
        1.7.0