Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.9K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

[?] Make a test using pattern matching for pairs of numbers?

Posted 7 years ago
POSTED BY: Paul Cleary
2 Replies
Posted 7 years ago

Thank you Gianluca that works perfectly.

POSTED BY: Paul Cleary

My attempt:

test[{a_, b_}] := Or @@ Cases[testno, {a, c_} -> (c >= b)];
And @@ Map[test, num]
And @@ Map[test, num1]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard