title: Initialize matrix with conditions without a loop
body: <p>I want to create a matrix <code>M</code> with indices <code>i,j</code> so that <code>M(i,j)=i/j</code>. I could do this using two loops but is there any way to do this without using <code>for</code> loops?</p>