Class StepCarryCRTStrategy

java.lang.Object
org.apfloat.internal.StepCarryCRTStrategy
All Implemented Interfaces:
Parallelizable, CarryCRTStrategy

public class StepCarryCRTStrategy extends Object implements CarryCRTStrategy, Parallelizable
Class for performing the final step of a three-modulus Number Theoretic Transform based convolution. Works with blocks of data.

The algorithm is parallelized for multiprocessor computers, if the data fits in memory.

The parallelization works so that the carry-CRT is done in blocks in parallel. As a final step, a second pass is done through the data set to propagate the carries from one block to the next.

All access to this class must be externally synchronized.

Since:
1.7.0
Version:
1.9.0
Author:
Mikko Tommila
See Also: