title: How to create and use a multi-dimensional array in Scala?
body: <p>How do I create an array of multiple dimensions? </p>
  
  <p>For example, I want an integer or double matrix, something like <code>double[][]</code> in Java.</p>
  
  <p>I know for a fact that arrays changed in Scala 2.8 and that the old arrays are deprecated, but are there multiple ways to do it now and if yes, which is best?</p>