Say there exists a set X of row vectors, each with dimension 1 x m, and a set Y of column vectors, each with dimension n x 1.
X
1 x m
Y
n x 1