Package org.apfloat.spi
Interface ConvolutionBuilder
- All Known Implementing Classes:
AbstractConvolutionBuilder,DoubleConvolutionBuilder,FloatConvolutionBuilder,IntConvolutionBuilder,LongConvolutionBuilder
public interface ConvolutionBuilder
Interface of a factory for creating convolutors.
The factory method pattern is used.
- Version:
- 1.0
- Author:
- Mikko Tommila
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateConvolution(int radix, long size1, long size2, long resultSize) Returns a convolution strategy of suitable type for the specified length.
-
Method Details
-
createConvolution
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.
-