determinant of 3x3 numpy code example
Example 1: determinant of 3x3 numpy
import numpy as np
arr=np.array([[1,2,3],[4,5,6],[7,8,9]])
arr
round(np.linalg.det(arr))
Example 2: determinant of 3x3 numpy
numpy.linalg.det(array)
import numpy as np
arr=np.array([[1,2,3],[4,5,6],[7,8,9]])
arr
round(np.linalg.det(arr))
numpy.linalg.det(array)