New answers tagged

1 vote

How to select in the following way?

Using MapThread: ...
user avatar
  • 16.2k
5 votes

How to create patterns for DeleteCases / Cases / Select: deleting elements of a list, from the condition of a negative element in a column

In such a simple case, @MarcoB's and @BobHanlon's answers are the way to go. In other words, use a pure function that tests a part of the desired element of each sublist, as in ...
user avatar
  • 1,585
8 votes
Accepted

How to create patterns for DeleteCases / Cases / Select: deleting elements of a list, from the condition of a negative element in a column

You were right that such a pattern would involve _ (i.e. Blank) and a PatternTest (...
user avatar
  • 60.2k

Top 50 recent answers are included