# Why is KroneckerProduct[vector, vector] a matrix in Mathematica, not a vector?

“If AAA is an m×nm×nm \times n matrix and BBB is a p×qp×qp \times q matrix, then the Kronecker product A⊗BA⊗BA \otimes B is the mp×nqmp×nqmp \times nq block matrix…”

from Wiki

Thus the Kronecker product of two vectors, i.e. 3×13×13\times 1 matrices, should be a 9×19\times 1 matrix, i.e. another vector. Nevertheless, Mathematica gives me a 3×33 \times 3 matrix instead. Why is this the case and how can I change this?

=================

A 3-by-3 matrix is a 9-by-1 matrix, for most intents and purposes.
– march
Oct 7 ’15 at 15:50

1

Anyway, Mathematica has to make some assumptions, and (look at the documentation for Dot), it sometimes treats a 3-by-1 vector as a 1-by-3 matrix instead. Try KroneckerProduct[{d, e, f}, {{a}, {b}, {c}}].
– march
Oct 7 ’15 at 15:56

=================