1
2
3
4
5
6
import numpy as np
 
array = np.array([1, 2])
 
# The @ operator is not in python 2
array @ array