Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## importig libraries to use for matrix and numpy array
- ## Importing it as an nm, don't be confused you can use any name instead ## of nm
- import numpy.matlib as nm
- import numpy as np
- ## It returns values with initializing empty.
- ## filled with random data
- nm.empty((3,3))
- #[Output]:
- #matrix([[0.00000000e+000, 0.00000000e+000, 0.00000000e+000],
- # [0.00000000e+000, 0.00000000e+000, 6.64024228e-321],
- # [0.00000000e+000, 1.10131582e-311, 0.00000000e+000]])
Add Comment
Please, Sign In to add comment