Question: making a list of all elements of a matrix

Hello!

How can I make a list containing all inequalities
A[i,j] >=0 where A is a nxm-matrix?

This works, but si laborious:
[(A[i,1]>=0)$i=1..3,(A[i,2]>=0)$i=1..3,(A[i,3]>=0)$i=1..3];

works, but result is nested:
[[(A[i,j]>=0)$i=1..3]$j=1..3];

should work, but doesn't - why?
[((A[i,j]>=0)$i=1..3)$j=1..3];

Thanks in advance
Rainer

 

 

Please Wait...