org.apfloat.internal
Class LongNTTBuilder
java.lang.Object
org.apfloat.internal.LongNTTBuilder
- All Implemented Interfaces:
- NTTBuilder
- public class LongNTTBuilder
- extends Object
- implements NTTBuilder
Creates Number Theoretic Transforms suitable for the
specified length and based on available memory, for the
long
type.
- Version:
- 1.0
- Author:
- Mikko Tommila
- See Also:
LongTableFNTStrategy
,
LongSixStepFNTStrategy
,
LongTwoPassFNTStrategy
,
LongFactor3NTTStrategy
Method Summary |
NTTStrategy |
createNTT(long size)
Creates a Number Theoretic Transform of suitable
type for the specified length. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongNTTBuilder
public LongNTTBuilder()
- Default constructor.
createNTT
public NTTStrategy createNTT(long size)
- Description copied from interface:
NTTBuilder
- Creates a Number Theoretic Transform of suitable
type for the specified length.
- Specified by:
createNTT
in interface NTTBuilder
- Parameters:
size
- The transform length that will be used.
- Returns:
- A suitable NTT object for performing the transform.