title: Initialize double array with nonzero values (blas)
body: <p>I have allocated a big double vector, lets say with 100000 element. At some point in my code, I want to set all elements to a constant, nonzero value. How can I do this without using a for loop over all elements?
  I am also using the blas package, if it helps.</p>