Class IntCarryCRTBuilder

  • All Implemented Interfaces:
    CarryCRTBuilder<int[]>

    public class IntCarryCRTBuilder
    extends java.lang.Object
    implements CarryCRTBuilder<int[]>
    Creates carry-CRT related objects, for the int type.
    Since:
    1.7.0
    Version:
    1.7.0
    • Constructor Summary

      Constructors 
      Constructor Description
      IntCarryCRTBuilder()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CarryCRTStrategy createCarryCRT​(int radix)
      Creates an object for implementing the carry-CRT of a three-NTT based convolution using the specified radix.
      CarryCRTStepStrategy<int[]> createCarryCRTSteps​(int radix)
      Creates an object for implementing the steps of the carry-CRT of a three-NTT based convolution using the specified radix.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntCarryCRTBuilder

        public IntCarryCRTBuilder()
        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<int[]>
        Parameters:
        radix - The radix that will be used.
        Returns:
        A suitable object for performing the carry-CRT.
      • createCarryCRTSteps

        public CarryCRTStepStrategy<int[]> 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<int[]>
        Parameters:
        radix - The radix that will be used.
        Returns:
        A suitable object for performing the carry-CRT steps.