public abstract class AbstractNTTBuilder extends Object implements NTTBuilder
ApfloatContext
.Modifier | Constructor and Description |
---|---|
protected |
AbstractNTTBuilder()
Subclass constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract NTTStrategy |
createFactor3NTTStrategy(NTTStrategy nttStrategy)
Create a factor-3 NTT strategy on top of another NTT strategy.
|
NTTStrategy |
createNTT(long size)
Creates a Number Theoretic Transform of suitable
type for the specified length.
|
protected abstract NTTStrategy |
createSimpleFNTStrategy()
Create a simple NTT strategy.
|
protected abstract NTTStrategy |
createSixStepFNTStrategy()
Create a six-step NTT strategy.
|
protected abstract NTTStrategy |
createTwoPassFNTStrategy()
Create a two-pass NTT strategy.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFactor3NTTSteps, createNTTConvolutionSteps, createNTTSteps
public NTTStrategy createNTT(long size)
NTTBuilder
createNTT
in interface NTTBuilder
size
- The transform length that will be used.protected abstract NTTStrategy createSimpleFNTStrategy()
protected abstract NTTStrategy createSixStepFNTStrategy()
protected abstract NTTStrategy createTwoPassFNTStrategy()
protected abstract NTTStrategy createFactor3NTTStrategy(NTTStrategy nttStrategy)
nttStrategy
- The underlying factor-2 NTT strategy.Copyright © 2017. All rights reserved.