Class Convolution
java.lang.Object
org.opentrafficsim.animation.egtf.Convolution
Utility class for convolution using fast fourier transformation. This utility is specifically tailored to EGTF and not for
general fast fourier purposes.
Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[][]convolution(double[][] a, double[][] b) Convolution of two matrices using fast fourier transform.
-
Method Details
-
convolution
public static double[][] convolution(double[][] a, double[][] b) Convolution of two matrices using fast fourier transform.- Parameters:
a- the kernel matrixb- the data matrix- Returns:
- convolution of a over b, same size as b
-