I'm doing a problem where I'm taking the divergence of a matrix. If the dot product $A\cdot B$ is essentially $A^{T}B$ then surely $$ \nabla \cdot A =\nabla^TA$$
where A is a matrix. If $\nabla^T$ is 1x3 and $A$ is a 3x3, then matrix multiplication should yield a 1x3 too. Thus it is not a vector, but a vector transposed. However say $A$ is an outer product. Then $$\nabla \bullet (a\otimes b ) = (\nabla \cdot a) \otimes b $$ where $\nabla \cdot a$ is a scalar, and a scalar tensor product a vector is just the scalar times the vector. Whats with this contradiction?