Guest User

Untitled

a guest
Feb 17th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. ## importig libraries to use for matrix and numpy array
  2. ## Importing it as an nm, don't be confused you can use any name instead ## of nm
  3. import numpy.matlib as nm
  4. import numpy as np
  5.  
  6. ## It returns values with initializing empty.
  7. ## filled with random data
  8. nm.empty((3,3))
  9.  
  10. #[Output]:
  11. #matrix([[0.00000000e+000, 0.00000000e+000, 0.00000000e+000],
  12. # [0.00000000e+000, 0.00000000e+000, 6.64024228e-321],
  13. # [0.00000000e+000, 1.10131582e-311, 0.00000000e+000]])
Add Comment
Please, Sign In to add comment