The recent question about generalizing Dot for list of matrices had a nice solution/comment using Inner.
Briefly, we have 6 matrices:
{a, b, c, x, y, z} = RandomReal[{0, 1}, {2, 2}] & /@ Range[6]
And we want to get three matrices {a.x, b.y, c.z}, then possible (per comment to original question) solution would be
Inner[Dot, {a, b, c}, {x, y, z}, List]
But it fails, complaining:
Length 2 of dimension 3 in
Why?
n, but then forgot it. – BlacKow Jul 11 '16 at 21:18Inner[Dot, Unevaluated@{a, b, c}, Unevaluated@{x, y, z}, List]works fine. Thanks! Care to post it as an answer? – BlacKow Jul 11 '16 at 21:33