I have a rather simple question which surprisingly i could find the answer theres a matrix $U $ whith is $4*4$ and a vector $A$ which is $4*1$ and when I wand to multiply them by $U.A$ operator i get this :
Dot::rect: Nonrectangular tensor encountered.
so does anyone know how can i multiply them together?
U = {{1,2,1,1},{1,3,2,2},{0,2,0,1},{0,1,2,1}}
and
A = {{1},{1},{1},{1}}
UandAplease. – Kiro Jul 18 '19 at 12:20MatrixFormaround any of them during definition? This is a common pitfall: https://mathematica.stackexchange.com/a/18395/43522 – Sjoerd Smit Jul 18 '19 at 12:30A, this discussion and its linked materials may be of interest for you. – Roman Jul 18 '19 at 13:51