org.apfloat.internal
Class DoubleNTTBuilder

java.lang.Object
  extended byorg.apfloat.internal.DoubleNTTBuilder
All Implemented Interfaces:
NTTBuilder

public class DoubleNTTBuilder
extends java.lang.Object
implements NTTBuilder

Creates Number Theoretic Transforms suitable for the specified length and based on available memory, for the double type.

Version:
1.0
Author:
Mikko Tommila
See Also:
DoubleTableFNTStrategy, DoubleSixStepFNTStrategy, DoubleTwoPassFNTStrategy, DoubleFactor3NTTStrategy

Constructor Summary
DoubleNTTBuilder()
          Default constructor.
 
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
 

Constructor Detail

DoubleNTTBuilder

public DoubleNTTBuilder()
Default constructor.

Method Detail

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.