matrices in numpy code example
Example: numpy matrix
>>> np.array([[1, 2], [3, 4]])
array([[1, 2],
[3, 4]])
#np.matrix is no longer recommended!
>>> np.array([[1, 2], [3, 4]])
array([[1, 2],
[3, 4]])
#np.matrix is no longer recommended!