NumPy playlist link: • NumPy Array Processing Package in Python
Code:
#Addition
import numpy as np
A=np.array([[3,6],[7,-9]])
B=np.array([[9,-3],[3,6]])
C=A+B
print(C)
#Multiplication
A=np.array([[3,6,5],[7,-3,0]])
B=np.array([[1,1],[2,1],[3,-3]])
C=A.dot(B)
print(C)
#Transpose
A=np.array([[1,1],[2,1],[3,-3]])
print(A.transpose())
On this page of the site you can watch the video online 211. Matrix Operation- Add, Multiply and Transpose using NumPy Array with Code || Python NumPy Array with a duration of hours minute second in good quality, which was uploaded by the user Bhavatavi 03 November 2022, share the link with friends and acquaintances, this video has already been watched 6 times on youtube and it was liked by 0 viewers. Enjoy your viewing!