org.apfloat.internal
Class IntNTTBuilder

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

public class IntNTTBuilder
extends java.lang.Object
implements NTTBuilder

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

Version:
1.0
Author:
Mikko Tommila
See Also:
IntTableFNTStrategy, IntSixStepFNTStrategy, IntTwoPassFNTStrategy, IntFactor3NTTStrategy

Constructor Summary
IntNTTBuilder()
          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

IntNTTBuilder

public IntNTTBuilder()
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.