Creates this org.apache.spark.util.Vector of given length containing random numbers between 0.
Creates this org.apache.spark.util.Vector of given length containing random numbers between 0.0 and 1.0. Optional scala.util.Random number generator can be provided.
(Since version 1.0.0) Use Vectors.dense from Spark's mllib.linalg package instead.