this is what I have got so far...
public static void main(String[] args) {
Random random= new Random();
Matrix mR = new Matrix(3,3,random.nextDouble()) ;
System.out.println("Here is a 3x3 matrix with random values " +Arrays.deepToString(mR.getArray()));
}
The problem is when I print this out, all of the values are the same. What I need is different value in each index. I know this can be done simply by creating an array, assigning it random values, then copying that into the matrix. But I need to do this straight from the matrix mR.