title: How to create matrix from java vector of vectors (Multidimentional Vector)
body: <p>am trying to create vector of Vectors(2d) in java like multidimensional array. then to assign values to specific position in that matrix like what we do using matrix[i][j] in 2D array
  Any help.</p>
  <p>My data in one Vector:</p>
  <p><code>n = [a, b, c, d, e, f, g , h]</code></p>
  <p>I want to create 2D Vector to represent
  vector m =</p>
  <ul>
  <li>a b c d</li>
  <li>e f g h</li>
  </ul>