11
votes
4answers
518 views

List comprehension in Mathematica

Python supports a concept called "list comprehensions". Following is sample example ...
7
votes
5answers
284 views

Making a table with elements like {10i+j, i, j}

Table[10i+j,{i,4},{j,3}] will generate a table that looks like this: {{11,12,13},{21,22,23},{31,32,33},{41,42,43}} I would like ...