# numpy matrix operations | rand() function in Python # Python program explaining# numpy.matlib.rand() function  # importing matrix library from numpyimport numpy as geekimport numpy.matlib  # desired 3 x 4 random output matrix out_mat = geek.matlib.rand((3, 4)) print ("Output matrix : ", out_mat) 