title: How to create a vector from 1:n in C++ (Armadillo)?
body: <p>Such a simple question but I haven't found an answer in the armadillo's documentation. </p>
  
  <p>I'm looking for the Armadillo/C++ equivalent to Matlab's <code>x = (1:n)</code> where <code>n</code> is a number and <code>x</code> is thus a vector <code>[1, 2, 3..., n-1, n]</code>. </p>