org.apfloat.internal
Class LongNTTBuilder

java.lang.Object
  extended byorg.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

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

LongNTTBuilder

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