I am trying to understand the mode "same" in the function np.correlate(). I saw the definition in some website, but I can't understand how it does the computation to get the final array.
How from this: np.correlate([2, 1], [1, 1], 'same') we get this: array([2, 3])
Can someone make a computation example?