Data Science, Linear Algebra, Mathematics.
A = np.array([[1,2],[3,4]]) #matrix1 B = np.array([[-3,-2],[-4,-5]]) #matrix2 print(np.matmul(A, B)) print(A@B) Both the print statements give the same result. Special Matrices: There are particularly 3 types of special matrices. Identity Matrix: A square matrix with diagonal elements as 1 and