Package org.apfloat.internal
Class FloatCarryCRTBuilder
java.lang.Object
org.apfloat.internal.FloatCarryCRTBuilder
- All Implemented Interfaces:
CarryCRTBuilder<float[]>
Creates carry-CRT related objects, for the
float
type.- Since:
- 1.7.0
- Version:
- 1.7.0
- Author:
- Mikko Tommila
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCarryCRT
(int radix) Creates an object for implementing the carry-CRT of a three-NTT based convolution using the specified radix.CarryCRTStepStrategy
<float[]> createCarryCRTSteps
(int radix) Creates an object for implementing the steps of the carry-CRT of a three-NTT based convolution using the specified radix.
-
Constructor Details
-
FloatCarryCRTBuilder
public FloatCarryCRTBuilder()Default constructor.
-
-
Method Details
-
createCarryCRT
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 interfaceCarryCRTBuilder<float[]>
- Parameters:
radix
- The radix that will be used.- Returns:
- A suitable object for performing the carry-CRT.
-
createCarryCRTSteps
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 interfaceCarryCRTBuilder<float[]>
- Parameters:
radix
- The radix that will be used.- Returns:
- A suitable object for performing the carry-CRT steps.
-