We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Numpy
- Linear Algebra
- Discussions
Linear Algebra
Linear Algebra
Sort by
recency
|
268 Discussions
|
Please Login in order to post a comment
import numpy as np
mtx_size = int(input()) mtx = []
for i in range (mtx_size): row = list(map(float,input().split())) mtx.append(row)
print(round(np.linalg.det(mtx),2))
import numpy as np
mtx_size = int(input()) mtx = []
for i in range (mtx_size): row = list(map(float,input().split())) mtx.append(row)
print(round(np.linalg.det(mtx),2))