Sum[A[i][j] *B[i][j], {i, 1, 2}, {j, 1, 2}]
gives
A[1][1] B[1][1] + A[1][2] B[1][2] + A[2][1] B[2][1] + A[2][2] B[2][2]
but what I want is it should seem like
A[1][1] *B[1][1] + A[1][2] *B[1][2] + A[2][1] *B[2][1] + A[2][2] *B[2]
[2]
Is this possible? Please help about this...
thanks
Sum[A[i][j]*B[i][j], {i, 1, 2}, {j, 1, 2}] // InputForm
Cheers -- Sjoerd
Sum[A[i][j]*B[i][j], {i, 1, 2}, {j, 1, 2}] // InputForm
A[1][1]*B[1][1] + A[1][2]*B[1][2] + A[2][1]*B[2][1] + A[2][2]*B[2][2]
Bob Hanlon
---- Volkan <vis...@gmail.com> wrote:
=============