Question: Loop problem

Question:Loop problem

tbasket 486 Maple
Hi experts, I want to make a loop. Each time the function f should be changed according to n and m. The values that I obtain with Powell (not important for the undertstanding of the problem) should be put into the matrix A[n,m] > List := Powell(f, Xmin0); [-587.000914326964951, [-0.344030213998255226, 100.344030214880177], 12, 134] > m:=1; n:=1; for n to 3 do for m to 3 do end do end do; m:=m+1; n:=n+1; f := proc (Q1, Q2)->m*Q1+n*Q2 end proc; A[n,m]:=Powell(f); # not important for the understanding of the problem end do; end; I think there are a lot of mistakes in this solution.
Please Wait...