From: Stephen Wandzura on
Can anybody tell me why the two ListCorrelate s don't evaluate to the
same thing?



\[Psi] = {{0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0}, {0, 0,
0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0,
0, 0, 0, 0, 0}};

s = {{-1}, {1}};

ListCorrelate[s, \[Psi], {{2, 1}}] // MatrixForm
Dimensions[%]

Dimensions[s]

ListCorrelate[s, \[Psi], {Dimensions[s]}] // MatrixForm
Dimensions[%]=