Question: Matrix manipulation

Hi there, I am trying to give my first steps into Maple (I have been a Matlab user for years),and I have the following problem.

The elements of my matrix  U[s, t] are defined as

U[s, t] := 1/(sum((d[s, t]/d[j, t])^2, j = 1 .. c))

where d[s,t] and d[j,t] are elements of another matrix d := matrix(N, N) and c is the number of rows of d. My problem is that I need to fill-up the whole matrix U and not a single element of U. It sounds weird for me to use a double "for" for that and I am hoping that there is a straight solution for that in Maple.

Could anyone help me please?




Please Wait...