org.apfloat.spi
Interface ConvolutionBuilder

All Known Implementing Classes:
DoubleConvolutionBuilder, FloatConvolutionBuilder, IntConvolutionBuilder, LongConvolutionBuilder

public interface ConvolutionBuilder

Interface of a factory for creating convolutors. The factory method pattern is used.

See Also:
ConvolutionStrategy

Method Summary
 ConvolutionStrategy createConvolution(int radix, long size1, long size2, long resultSize)
          Returns a convolution strategy of suitable type for the specified length.
 

Method Detail

createConvolution

public 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.