from numpy import array, add, subtract, dot

A = array([ [1,-1,2],
          [0,-1,1],
          [2,-2,3] ])

B = array([ [-3,5,2],
          [6,-1,0],
          [3,2,-1] ])

S = add(A,B) # A + B
D = subtract(A,B) # A - B
P = dot(A,B) # A x B
print(f'S = {S} ,\n\n D = {D},\n\n P = {P}')
