title: defining the i,j th entry of a matrix in loop
body: <p>Suppose I wanted to define an n x m matrix whose i,j th entry is i+j. How do I specify what I want the i,j th entry to be? In a 'for' loop, it doesn't let me say, for example, A[i,j]=i+j. How do I do this?</p>