Package org.apfloat.internal
Class DoubleCarryCRTBuilder
java.lang.Object
org.apfloat.internal.DoubleCarryCRTBuilder
- All Implemented Interfaces:
CarryCRTBuilder<double[]>
Creates carry-CRT related objects, for the
double
type.- Since:
- 1.7.0
- Version:
- 1.7.0
- Author:
- Mikko Tommila
-
Constructor Summary
-
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
<double[]> 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
-
DoubleCarryCRTBuilder
public DoubleCarryCRTBuilder()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<double[]>
- 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<double[]>
- Parameters:
radix
- The radix that will be used.- Returns:
- A suitable object for performing the carry-CRT steps.
-