Inner::incom
Examples
Basic Examples (1)
The length of the inner dimension in the second argument is not the same as the length of the outer dimension in the third argument:
Inner[Plus, {{30}, {40}}, {2, 3}]This shows valid input in Inner:
Inner[Plus, {{30, 40}}, {2, 3}]Dimensions can be usefully rearranged using Transpose:
Inner[Plus, Transpose[{{30}, {40}}], {2, 3}]The optional fifth argument in Inner can be used to specify which dimension of the second argument should be used:
Inner[Plus, {{30}, {40}}, {2, 3}, Times, 1]