title: resize an array with a specific value
body: <p>I have an array phase</p>
  
  <pre><code> [ (3.0535400914168154, 0.371345899229, 0.312953794281, -0.0125231427371, 0.0)
   (3.056684825749555, 0.373971853521, 0.313682391117, -0.0264543909236, 0.0)
   (3.0598295600822953, 0.376861295611, 0.314535588286, -0.041169303628, 0.0)]
  </code></pre>
  
  <p>and I would like to resize with the method resize</p>
  
  <pre><code>phase.resize(MAXLINE)
  </code></pre>
  
  <p>and I get this result</p>
  
  <pre><code>[ (3.0535400914168154, 0.371345899229, 0.312953794281, -0.0125231427371, 0.0)
   (3.056684825749555, 0.373971853521, 0.313682391117, -0.0264543909236, 0.0)
   (3.0598295600822953, 0.376861295611, 0.314535588286, -0.041169303628, 0.0)
   (0.0, 0.0, 0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 0.0, 0.0)
   (0.0, 0.0, 0.0, 0.0, 0.0)]
  </code></pre>
  
  <p>I would like to know if it's possible to set a specific value (Nan or -99999) instead of the default value 0.0</p>