I have a linear system where I am given 2 matrices, $A$ and $B$, and 2 vectors, $v$ and $c$, and I need to solve for the vector $x$. $A$ is $n\times n$, $B$ is $n \times n \times n$, and the vectors $v$, $c$, and $x$, are all $n\times 1$. I need to solve for $x$, which is complicated as you'll see below by the right multiply. The actual system is:
$$Ax + Bxv = c$$
At present, I am at a loss as to how to proceed, as the matrices aren't event the same dimensions. It is difficult for me to obtain the matrix $B$ easily, and is much easier and cheaper to compute matrix vector product like $Bc$, for the solution process.
EDIT: Before I said $A$ was $n\times n \times n$ and $B$ was $n\times n$, I got it switched.