A simple version of the basic convolution example from Section 5.10.1 of 'Writing R Extensions', now rewritten for Rcpp using RcppVector<double>.