public abstract class AbstractNTTBuilder extends Object implements NTTBuilder
ApfloatContext
.Modifier | Constructor and Description |
---|---|
protected |
AbstractNTTBuilder()
Subclass constructor.
|
Modifier and Type | Method and Description |
---|---|
protected NTTStrategy |
createFactor3NTTStrategy(long size,
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(long size)
Create a simple NTT strategy.
|
protected NTTStrategy |
createSixStepFNTStrategy(long size)
Create a six-step NTT strategy.
|
protected NTTStrategy |
createTwoPassFNTStrategy(long size)
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(long size)
size
- The transform length that will be used.protected NTTStrategy createSixStepFNTStrategy(long size)
size
- The transform length that will be used.protected NTTStrategy createTwoPassFNTStrategy(long size)
size
- The transform length that will be used.protected NTTStrategy createFactor3NTTStrategy(long size, NTTStrategy nttStrategy)
size
- The transform length that will be used.nttStrategy
- The underlying factor-2 NTT strategy.Copyright © 2017. All rights reserved.