title: Initializing boost matrix with a std::vector or array
body: <p>I have a method that takes a std::vector as one of its parameters. Is there a way I can initialize a matrix by assigning the std::vector to the matrix? Here's what I tried to do below. Does anyone know how i can achieve assigning the vector (or even a pointer of doubles) to the matrix? Thanks in advance. Mike </p>
  
  <pre><code>void Foo(std::vector v)
  {
      matrix&lt;double&gt; m(m, n, v);
      // work with matrix...
  }
  </code></pre>