title: Elegant way to push back std::array to std::vector N times
body: <p>the following codes pushed back an std::array to a std::vector N times. Is there a more elegant and shorter way of doing this?</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;vector&gt;
  #include &lt;array&gt;
  
  #include &lt;iomanip&gt;
  #include &lt;complex&gt;
  #include &lt;cmath&gt;
  
  int main () {
    int N=10;
    std::vector&lt; std::array&lt;std::complex&lt;double&gt;,3&gt; &gt; v;
    v.reserve(N);
    for(int i=0;i&lt;N;i++){
      std::array&lt;std::complex&lt;double&gt;,3&gt; el { {0.0,3.0,0.0} };
      v.push_back(el);
    }
  }
  </code></pre>