Skip to content

Instantly share code, notes, and snippets.

@cocomoff
Created July 15, 2012 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cocomoff/3117284 to your computer and use it in GitHub Desktop.
Save cocomoff/3117284 to your computer and use it in GitHub Desktop.
Scalaで多次元配列 ref: http://qiita.com/items/01b50f3a7f2c6d0471f5
val array = Array.ofDim[Int](2, 3)
println(array.deep)
/* Output
Array(Array(0, 0, 0), Array(0, 0, 0))
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment