Most books have the notation of a weight vector w and input matrix x: $$ w = \begin{bmatrix} w_1\\...\\ w_D \end{bmatrix}, x = \begin{bmatrix} x_{11}&...&x_{1D}\\ ...&...&...\\ x_{N1}&...&x_{ND} \end{bmatrix} $$ For N samples and D features/parameters. Then it goes on to say the net input, or y prediction, or whatever the book decides to call it, is $$ y=w^Tx $$ But doesn't that mean every sample of the 1st feature is multiplied with weights $w_1, w_2,...w_D$? Intuition tells me it should be each $d$-th feature should be multiplied by the correspnding $d$'th weight, done over all samples. By this reasoning it should be more like $y=xw$, which I've definitely never seen in any of the books. What am I getting wrong?
PS I realized I missed the bias; hopefully the argument still stands.