How can I apply greater than $>$ to a list?
Example 1
list={1,4,5,-2}
How can I apply $>$ to the list to find all elements of the list greater than 0?
Desired output
{True,True,True,False}
Example 2
list={-(r/(-d + k r)), -(r/(-d + k r)), 0}
How can I apply $>$ to the list to find all elements of the list greater than or equal to 0 in combination with Reduce
?
Desired output
The same as
Reduce[{list[[1]] >= 0, list[[2]] >= 0, list[[3]] >= 0}]
which has output
(k < 0 && ((d < 0 && (r <= 0 || r > d/k)) || (d ==
0 && (r < 0 || r > 0)) || (d >
0 && (r < d/k || r >= 0)))) || (k ==
0 && ((d < 0 && r <= 0) || (d > 0 && r >= 0))) || (k >
0 && ((d < 0 && d/k < r <= 0) || (d > 0 && 0 <= r < d/k)))