for each entry in matrix get value from another matrix numpy code example
Example: numpy matrix in python 3
np.matrix([[1, 2], [3, 4]])
# matrix([[1, 2],
# [3, 4]])
np.matrix([[1, 2], [3, 4]])
# matrix([[1, 2],
# [3, 4]])