I noticed that in python for a vector, it does not matter the order you transpose it when calculating the inner product. Is this a bug?
If u is a series
import numpy as np
u = np.array([0,1,1,1])
u.T @ u
returns a scalar as it should.
But also,
u @ u.T
Is also returning a scalar. Any ideas of what could be going on?