Skip to main content
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Source Link

I think the canonical way would be to use an "any" function which you can find in thisthis question. Using a variant of my answermy answer, you can use

MemberQ[list, _?Positive] 

to check if any element is positive.

I think the canonical way would be to use an "any" function which you can find in this question. Using a variant of my answer, you can use

MemberQ[list, _?Positive] 

to check if any element is positive.

I think the canonical way would be to use an "any" function which you can find in this question. Using a variant of my answer, you can use

MemberQ[list, _?Positive] 

to check if any element is positive.

Source Link
rm -rf
  • 89.8k
  • 21
  • 303
  • 498

I think the canonical way would be to use an "any" function which you can find in this question. Using a variant of my answer, you can use

MemberQ[list, _?Positive] 

to check if any element is positive.