Class FloatCarryCRTBuilder

  • All Implemented Interfaces:
    CarryCRTBuilder<float[]>

    public class FloatCarryCRTBuilder
    extends Object
    implements CarryCRTBuilder<float[]>
    Creates carry-CRT related objects, for the float type.
    Since:
    1.7.0
    Version:
    1.7.0
    Author:
    Mikko Tommila
    • Constructor Detail

      • FloatCarryCRTBuilder

        public FloatCarryCRTBuilder()
        Default constructor.
    • Method Detail

      • createCarryCRT

        public CarryCRTStrategy createCarryCRT​(int radix)
        Description copied from interface: CarryCRTBuilder
        Creates an object for implementing the carry-CRT of a three-NTT based convolution using the specified radix.
        Specified by:
        createCarryCRT in interface CarryCRTBuilder<float[]>
        Parameters:
        radix - The radix that will be used.
        Returns:
        A suitable object for performing the carry-CRT.
      • createCarryCRTSteps

        public CarryCRTStepStrategy<float[]> createCarryCRTSteps​(int radix)
        Description copied from interface: CarryCRTBuilder
        Creates an object for implementing the steps of the carry-CRT of a three-NTT based convolution using the specified radix.
        Specified by:
        createCarryCRTSteps in interface CarryCRTBuilder<float[]>
        Parameters:
        radix - The radix that will be used.
        Returns:
        A suitable object for performing the carry-CRT steps.