Luke Palmer writes: > Or to write another typical tensor product: > > a^j = L_i^j b^i > > You write either of: > > Â @a[$^j] = @L[$^i; $^j] * @b[$^i] Â > @a = @L Â*Â @b;
Or not. There's that implicit Einstein summation involved, and a general purpose programming language isn't about to give dibbs to summation. I think it would have to be: @a = reduce { @^a Â+Â @^b } @L Â*Â @b; And that ain't so bad (much more explicit, certainly). Luke