10 if (x == 1)
return(1);
20 int nab = na +
nb - 1;
23 for (
int i = 0; i < na; i++)
24 for (
int j = 0; j <
nb; j++)
25 xab[i + j] += a[i] * b[j];
NumericVector convolve(NumericVector a, NumericVector b)
int fibonacci(const int x)
List lapplyCpp(List input, Function f)
Function_Impl< PreserveStorage > Function