Array.new(size[, arraytype])

Create a new array that contains size elements

If the arraytype is not specified it defaults to an array of doubles.

Example
arr = Array.new(1000)
arr = Array.new(1000, "int32")
arr = Array.new(5000, "uint16")