i have an array y with shape (n,), I want to compute the inner product matrix, which is a n * n matrix However, when I tried to do it in Python
np.dot(y , y)
I got the answer n, this is not what I am looking for I have also tried:
np.dot(np.transpose(y),y)
np.dot(y, np.transpose(y))
I always get the same answer n