
Re: skipping some i, j , ... values in Table
Posted:
May 19, 2013 5:46 AM


Flatten@Table[If[missing[i,j],{},something[i,j]],{i,10},{j,10}]
On Fri, May 17, 2013 @ 11:39 PM, Andre Hautot <ahautot@ulg.ac.be> wrote: > > Hi, > Suppose I need a list, Flatten[Table[something[i,j],{i,10},{j,10}]], > where some combinations of indices i and j are voluntarily missing under > a known condition (for example, stupid I know, when i+j is a prime). > How can I do that ? > Thanks in advance, > ahautot

