org.apfloat.internal
Class DoubleShortConvolutionStrategy
java.lang.Object
org.apfloat.internal.DoubleBaseMath
org.apfloat.internal.DoubleShortConvolutionStrategy
- All Implemented Interfaces:
- ConvolutionStrategy, DoubleRadixConstants, Serializable
- public class DoubleShortConvolutionStrategy
- extends DoubleBaseMath
- implements ConvolutionStrategy, DoubleRadixConstants
Short convolution strategy.
Performs a simple multiplication when the size of one operand is 1.
- Version:
- 1.0
- Author:
- Mikko Tommila
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleShortConvolutionStrategy
public DoubleShortConvolutionStrategy(int radix)
- Creates a convolution strategy using the specified radix.
- Parameters:
radix
- The radix that will be used.
convolute
public DataStorage convolute(DataStorage x,
DataStorage y,
long resultSize)
throws ApfloatRuntimeException
- Description copied from interface:
ConvolutionStrategy
- Convolutes the two sets of data.
- Specified by:
convolute
in interface ConvolutionStrategy
- Parameters:
x
- First data set.y
- Second data set.resultSize
- Number of elements needed in the result data.
- Returns:
- The convolved data.
- Throws:
ApfloatRuntimeException