from __future__ import division
import numpy as np

array1 = np.array([[1,2,3,4],[5,6,7,8]])
#print array1

#multiplication
array2 = array1*array1
#print array2

#exp Multiplication
array3 = array1*3
#print array3

#subtraction
array4 = array1 - array1
print array4

array5 = array2 - array1
print array5
#reciprocal
array6 = 1/array1
print array6