Question: How do I remove the negative elements from a list of elements?

 Could you please help me to resolve my problem?

Let us consider A=[a,-b,c, d, -a,b, -d]. Is there any command or function to remove negative element from A? For this example I want to obtain [a,b,c,d]. It is worth noting that not different "a" belong in the output list or "-a".

Thank you in advance.

Please Wait...