From: Teodoro on
Sorry about the question but there are 195 post on the topic (now 196 ...).
So ...
is it possible in Mtahematica to have something similar to
Product[T[r[[i]],r[[i-1]],x[[i]]-x[[i-1]],w],{i,2,8}];
where T[aL, a0, L, w] is a matrix function of the four variables, that
can have the same behaviour as the Dot function ?
What if I don't know in advance how many matrices I have to multiply ?
I need an operator that does
Dot[T[r[[i]],r[[i-1]],x[[i]]-x[[i-1]],w],{i,2,8}];
Thanks
Teodoro Marinucci

From: Teodoro on
On Jun 26, 9:10 am, Teodoro <jwheele...(a)gmail.com> wrote:
> Sorry about the question but there are 195 post on the topic (now 196 ...).
> So ...
> is it possible in Mtahematica to have something similar to
> Product[T[r[[i]],r[[i-1]],x[[i]]-x[[i-1]],w],{i,2,8}];
> where T[aL, a0, L, w] is a matrix function of the four variables, that
> can have the same behaviour as the Dot function ?
> What if I don't know in advance how many matrices I have to multiply ?
> I need an operator that does
> Dot[T[r[[i]],r[[i-1]],x[[i]]-x[[i-1]],w],{i,2,8}];
> Thanks
> Teodoro Marinucci

I've found a way:
Apply[Dot, Table[T[r[[p]], r[[p - 1]], x[[p]] - x[[p - 1]], \[Omega]],
{p, 2, 8}]]