dense.RandMatrix returns a random matrix which has the shape specified with arguments, rows and cols.
Typo: Replace "row" with "rows".