|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apfloat.internal.IntBaseMath
org.apfloat.internal.IntMediumConvolutionStrategy
Medium-length convolution strategy. Performs a simple O(n2) multiplication when the size of one operand is relatively short.
Field Summary |
Fields inherited from interface org.apfloat.internal.IntRadixConstants |
BASE, BASE_DIGITS, MAX_EXPONENT, MINIMUM_FOR_DIGITS |
Constructor Summary | |
IntMediumConvolutionStrategy(int radix)
Creates a convolution strategy using the specified radix. |
Method Summary | |
DataStorage |
convolute(DataStorage x,
DataStorage y,
long resultSize)
Convolutes the two sets of data. |
Methods inherited from class org.apfloat.internal.IntBaseMath |
baseAdd, baseDivide, baseMultiplyAdd, baseSubtract |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntMediumConvolutionStrategy(int radix)
radix
- The radix that will be used.Method Detail |
public DataStorage convolute(DataStorage x, DataStorage y, long resultSize) throws ApfloatRuntimeException
ConvolutionStrategy
convolute
in interface ConvolutionStrategy
x
- First data set.y
- Second data set.resultSize
- Number of elements needed in the result data.
ApfloatRuntimeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |