I have a list with numerical and non numerical elements:


what is an efficient rule to select the elements where both components are numerical? so I should be able to obtain l2={{1,1},{2,2}}. thanks

  • $\begingroup$ 35101 $\endgroup$ – Kuba Jan 20 '17 at 11:13
  • $\begingroup$ indeed, as written in that post: 'Select[l1,AllTrue@NumericQ]' does the trick. $\endgroup$ – Luigi Jan 20 '17 at 12:28