Package org.apfloat.spi
Interface ConvolutionBuilder
-
- All Known Implementing Classes:
AbstractConvolutionBuilder,DoubleConvolutionBuilder,FloatConvolutionBuilder,IntConvolutionBuilder,LongConvolutionBuilder
public interface ConvolutionBuilderInterface of a factory for creating convolutors. The factory method pattern is used.- Version:
- 1.0
- See Also:
ConvolutionStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConvolutionStrategycreateConvolution(int radix, long size1, long size2, long resultSize)Returns a convolution strategy of suitable type for the specified length.
-
-
-
Method Detail
-
createConvolution
ConvolutionStrategy createConvolution(int radix, long size1, long size2, long resultSize)
Returns a convolution strategy of suitable type for the specified length.- Parameters:
radix- The radix that will be used.size1- Length of first data set.size2- Length of second data set.resultSize- Minimum number of elements needed in the result data.- Returns:
- A suitable object for performing the convolution.
-
-