Routine Name: RandomSquareMatrix
Author: David Merkley
Language: Python
Description/Purpose: Square matrix with random coefficients
Input: size n of n x n matrix
Output: Matrix of the definition above
Implementation/Code:
def randomSquare(n):
return [[random.random() for j in range(n)] for i in range(n)]