JAVA:实现Convolution卷积算法
package com.thealgorithms.maths;
public class Convolution {
/**
* Discrete linear convolution function. Both input signals and the output
* signal must start from 0. If you have a signal that has values before 0
* then shift it to start from 0.
*
* @param A The first discrete signal
* @param B The second discrete signal