Test cpp11 integration.
double mean_cpp(doubles x) {
int n = x.size();
double total = 0;
for (double value : x) {
total += value;
}
return total / n;
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.